View Issue Details

IDProjectCategoryView StatusLast Update
0000771OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:29
Reporterdainius.bigelis Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version4.1.0 revision 17976 
Summary0000771: Long description of variant is not inherited because wysiwyg editor leaves the mess in DB
DescriptionSelect in Admin any variant-article, which has no Long description inserted.
Up until now the Long description entry in DB is empty for this variant-article.
In the Administer Products => Products => Main tab => WYSISYWG editor => Design tab - it is shown as empty. But in Source tab there is already text displayed:
< p > < /p >

So if user will click on "Save" in this case, this text will be stored to DB, and shop will interpret that variant-article already has own long description, and long description from parent-article will not be inherited for variant in this case.
The same case occurs if user will delete long description from the variant-article (the < p >   < / p > will be stored to DB).

In such cases need to clear the text < p >   < / p > from the DB (or ignore it when checking if article has long description)
TagsProducts
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

arvydas_vapsva

2009-04-03 14:35

reporter   ~0000698

Last edited: 2009-04-03 14:36

Editor has configurable parameter oEditor->emptyValue.

Still, setting it to empty value does not solve the problem - when you click on preview tab editor automatically adds "< br / >". I made JS function cleanupLongDesc() which is called when user press submit button and which ckecks and cleans-up if value is "< br >" or "< br / >".