Post by JNeuhoff » Wed Oct 15, 2008 5:22 am

It seems OpenCart 0.7.9rc1 now stores the product description, as well as the category description (from Bruce's contribution at http://www.opencart.com/contribution/in ... tion_id/36) in the wrong way.

In previous versions of OpenCart (0.7.7 in particular) the product description used to be stored e.g. like this:

"GX470 ITEM"

and not like this:

"<p><strong>GX470 ITEM</strong></p>"

As it is now using HTML entities for all the special characters, it will break backward-compatibility with various contributions, such as the Export/Import module, or the Category Description module, when using an old database. Since the database design hasn't been changed, we should make sure the contents stays the same, too.

I'd like therefore see the bug at http://code.google.com/p/open-cart/issu ... l?id=73#c4 re-opened. I posted a new comment in the bug tracker, and hope to find a proper fix soon.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by JNeuhoff » Wed Oct 15, 2008 6:30 am

After further investigation I am convinced there is a bug somewhere. The

Code: Select all

FCKConfig.HtmlEncodeOutput = false ;
for the FCKEditor (stored in admin/javascript/fckeditor/fckconfig.js) is not respected. After the description from the HTML-textarea has been posted, all special characters are HTML-escaped, which is wrong.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Qphoria » Wed Oct 15, 2008 10:11 pm

This has been fixed based on your solution in the bug tracker JN. Thank you for your help!

Cheers!

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 2 guests