View Issue Details

IDProjectCategoryView StatusLast Update
0006942OXID eShop B2B EditionB2B edition - subpublic2019-01-28 09:27
ReporterBernhardScheffold Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Summary0006942: B2B database columns are created nullable
Descriptionoxid-eshop-b2b-edition/Services/Event/EventHelper.php creates database columns as nullable. However, the OXID convention is non-nullable, so checks that check OXID compliant for an empty string may not be sufficient. In a project with customer-specific prices, this resulted in incorrect prices being displayed.

oxid-eshop-b2b-edition/Services/Event/EventHelper.php legt Datenbankspalten als nullable an. Die OXID-Konvention ist aber non-nullable, so dass Prüfungen, die OXID-konform auf einen Leerstring prüfen, möglicherweise nicht ausreichend sind. In einem Projekt mit kundenspezifischen Preisen führte dies zur Anzeige falscher Preise.
Steps To ReproduceInstall B2B edition, check oxuser table. The field b2bparentid ist nullable (but should not be)

B2B-Edition installieren, Tabelle oxuser prüfen. Das Feld b2bparentid ist nullable (sollte es aber nicht sein)
TagsNo tags attached.

Activities

QA

2019-01-25 15:09

administrator   ~0012774

Last edited: 2019-01-28 09:27

next time in english :-)

-ES