View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006942 | OXID eShop B2B Edition | B2B edition - sub | public | 2019-01-25 14:38 | 2019-01-28 09:27 |
Reporter | BernhardScheffold | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Summary | 0006942: B2B database columns are created nullable | ||||
Description | oxid-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 Reproduce | Install 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) | ||||
Tags | No tags attached. | ||||