View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003516 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2012-01-23 13:52 | 2012-12-10 13:44 |
Reporter | boehme | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Product Version | 4.5.5 revision 40299 | ||||
Fixed in Version | 4.5.8 revision 42471 | ||||
Summary | 0003516: oxarticle::getArticleLongDesc() inheritance does not work properly | ||||
Description | $sDbValue = oxDb::getDb()->getOne( "select oxlongdesc from {$sViewName} where oxid = ?", array( $sOxid ) ); if ( $sDbValue !== false ) { // use it! } elseif ( $this->oxarticles__oxparentid->value ) { // load from parent } db: oxartextends.oxlongdesc is configured as not null, no specific default value per default oxartextends.oxlongdesc will be an empty string. When you save an empty longdesc it will be an empty string. If getting the longdesc is checked by !== false this will never be false, so the inheritance won't take effect. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
duplicate of | 0002956 | resolved | vilma_liorensaityte | Article Long Description doesnt inherit from parent article to variant |