Project

General

Profile

GX-Bug #69340

Wrong default value for column 'google_export_condition_id' | Falscher Standardwert für die Spalte 'google_export_condition_id'

Added by Marvin Muxfeld over 1 year ago. Updated 12 months ago.

Status:
Erledigt
Priority:
Normal
Assignee:
Category:
Core
Target version:
% Done:

0%

Estimated time:
Steps to reproduce:
Betroffene Versionen:
4.5.1.0, 4.5.1.0 RC1
Release Notes Langtext:

Der Standardwert für "Zustand" beim Erstellen von Produkten ist nun wieder "neu"


Description

This new column google_export_condition_id in the table products_item_codes has currently (as of 4.5.1.0 RC1) the default id 0, which does not exists. This can lead to products having not google export condition preselected.

The old column google_export_condition had a default value of "neu". Accordingly the google_export_condition_id column should have 1 as default value.

With the usage of Gambio Admin it is not possible to leave this required field empty but it is possible using the V2 REST API. The REST-API user is responsible for not sending 0 as a value. Nevertheless the old column googleExportCondition with the possible values neu, gebraucht and erneuert should still be supported. If the Body contains googleExportCondition and googleExportConditionId, googleExportCondition will be ignored.

Example JSON-Body for POST api.php/v2/products request is attached.


Files

create_two_products.json (5.79 KB) create_two_products.json create product with old googleExportCondition and product with new googleExportConditionId value Moritz Bunjes, 11/17/2021 12:20 PM

History

#1

Updated by Marvin Muxfeld over 1 year ago

  • File gambio_beispielreqs.json added
#2

Updated by Lennard Kläfker over 1 year ago

  • Tags set to 4.5.1.0_Final
#3

Updated by Moritz Bunjes over 1 year ago

  • Status changed from Gemeldet to In Bearbeitung
  • Assignee set to Moritz Bunjes
#4

Updated by Moritz Bunjes over 1 year ago

  • Category changed from Adminbereich to Core
  • Status changed from In Bearbeitung to Testing
  • Assignee deleted (Moritz Bunjes)
  • Target version set to 4.5.1.0
  • Release Notes Langtext updated (diff)
#6

Updated by Moritz Bunjes over 1 year ago

  • Status changed from Testing to In Bearbeitung
  • Assignee set to Moritz Bunjes
#7

Updated by Moritz Bunjes over 1 year ago

  • Status changed from In Bearbeitung to Testing
#8

Updated by Moritz Bunjes over 1 year ago

  • Assignee deleted (Moritz Bunjes)
#9

Updated by Moritz Bunjes over 1 year ago

  • File create_two_products.json added
#10

Updated by Moritz Bunjes over 1 year ago

  • Description updated (diff)
#11

Updated by Moritz Bunjes over 1 year ago

  • File deleted (gambio_beispielreqs.json)
#12

Updated by Moritz Bunjes over 1 year ago

  • Description updated (diff)
#13

Updated by Moritz Bunjes over 1 year ago

  • Description updated (diff)
#14

Updated by Moritz Bunjes over 1 year ago

  • Description updated (diff)
#15

Updated by Ahmed Hamouda over 1 year ago

  • Assignee set to Ahmed Hamouda
#16

Updated by Moritz Bunjes over 1 year ago

  • Status changed from Testing to In Bearbeitung
  • Assignee changed from Ahmed Hamouda to Moritz Bunjes
#17

Updated by Moritz Bunjes over 1 year ago

  • File create_two_products.json added
#18

Updated by Moritz Bunjes over 1 year ago

  • File deleted (create_two_products.json)
#19

Updated by Moritz Bunjes over 1 year ago

  • File deleted (create_two_products.json)
#21

Updated by Moritz Bunjes over 1 year ago

  • Status changed from In Bearbeitung to Testing
  • Assignee changed from Moritz Bunjes to Ahmed Hamouda
#22

Updated by Ahmed Hamouda over 1 year ago

  • Status changed from Testing to Erledigt
#23

Updated by Daniel Wu 12 months ago

  • Tags deleted (4.5.1.0_Final)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 5 MB)