View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004486 | OXID eShop (all versions) | 4. ------ eShop Core ------- | public | 2012-09-03 14:54 | 2012-12-10 13:42 |
Reporter | FibreFoX | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.6.4 revision 49061 | ||||
Fixed in Version | 4.8.0_5.1.0_beta1 | ||||
Summary | 0004486: oxcategories should have DEFAULT on oxpricefrom/oxpriceto | ||||
Description | After playing with the categories, i stumbled upon some missing default-entries in setup/database.sql CREATE TABLE `oxcategories` ( ... `OXPRICEFROM` double default NULL, `OXPRICETO` double default NULL, ... ); When having some entries with NULL in it, assigning articles to categories via admin-interface is impossible, because the resulting statement is something like this: select oxv_oxcategories_de.oxtitle as _0, oxv_oxcategories_de.oxdesc as _1, oxv_oxcategories_de.oxid as _3 from oxv_oxcategories_de where oxv_oxcategories_de.oxid not in ( select oxv_oxcategories_de.oxid from oxobject2category left join oxv_oxcategories_de on oxv_oxcategories_de.oxid=oxobject2category.oxcatnid where oxobject2category.oxobjectid = '7060b0d553364f113108074978543ed1' and oxv_oxcategories_de.oxid is not null ) and oxv_oxcategories_de.oxpriceto = '0' "oxv_oxcategories_de.oxpriceto = 0" is totally wrong here and results in empty categorylists | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
has duplicate | 0005302 | resolved | Linas Kukulskis | Table oxcategories -> default value if OXPRICEFROM and OXPRICETO should be 0 |
related to | 0004967 | resolved | Linas Kukulskis | Problem while assigning products to categories |