View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002956 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2011-06-04 11:51 | 2012-12-07 14:28 |
Reporter | coarsy | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0 revision 34568 | ||||
Fixed in Version | 4.6.0_beta1 | ||||
Summary | 0002956: Article Long Description doesnt inherit from parent article to variant | ||||
Description | If an variant has no long description, the long description should inherit to the variants from the parent article. | ||||
Steps To Reproduce | 1. Login into demoshop backend and choose the anna jeans 2. Go to the variant view of the article and choose one 3. Delete the long description in the variant 4. Go to the frontend and put the former edited article into basket 5. Go into the basket and click back to the main article: http://demoshop.oxid-esales.com/community-edition/Bekleidung/Fashion/Fuer-Sie/Jeans/Kuyichi-Jeans-ANNA-W-34-L-34-Blau.html 6. There is no article description available anymore | ||||
Tags | Products | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
has duplicate | 0003516 | resolved | Linas Kukulskis | oxarticle::getArticleLongDesc() inheritance does not work properly |
has duplicate | 0003271 | resolved | Linas Kukulskis | oxlongdescription is not inherited correctly for subshops |
child of | 0003454 | resolved | Linas Kukulskis | Article Long Description is false |
|
Found the error in oxarticle.php at this function: protected function _assignParentFieldValues() PHP Code: if ( $this->getArticleLongDesc()->getRawValue() === null ) should be: if ( $this->getArticleLongDesc()->getRawValue() == null ) Best regards, Chris |
|
This bug is now back in version 4.5.5. I've seen, that the getArticleLongDesc was refactorized. Changing the if ( $sDbValue !== false ) statement to if ( $sDbValue != false ) is solving this problem. Are you compliant with me? Would be very great, if you could provide an hotfix for this issue. |
|
Better solution in my opinion is: if ( $sDbValue !== "" ) { |
|
This problem will be fixed for 4.6.0 release. |
|
Could you provide an quickfix or confirm my solution please? Thanks in advantage! |
|
We changed long description loading at all for 4.6.0 version. But your solution to change "if ( $sDbValue !== false)" statment to "if ( $sDbValue != false )" is simmilar. |
|
The offered solution from coarsy will work and is similar to our fix. So the quickfix will not be provided by us. As Vilma told, our fix will be released together with 4.6.0 version. |