View Issue Details

IDProjectCategoryView StatusLast Update
0006229OXID eShop (all versions)3.2. HTML, CSS, JavaScriptpublic2015-09-11 10:02
Reporternb Assigned To 
PrioritynormalSeverityminorReproducibilityunable to reproduce
Status closedResolutionunable to reproduce 
Product Version4.9.4 / 5.2.4 
Summary0006229: When "oxid_include_widget" is used in a template for an AJAX response it returns JSON instead of HTML
DescriptionWhen "oxid_include_widget" is used in a template that generates content for an AJAX response, the widget is not rendered properly. Instead of HTML, the widget returns a JSON structure with HTML code in it.
Steps To Reproduce- include a widget using "oxid_include_widget" in a page that updates its content from an AJAX call, i.e. page/checkout/inc/basket.tpl
- go to the basket and delete an item from it for the AJAX call to happen

the place where the widget should be rendered shows a JSON structure like "{errors:[], content: "HTML code here"}"
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP Version5.4
Database VersionNot defined

Relationships

related to 0005121 resolvedvilma_liorensaityte When using "oxid_include_widget" inside an AJAX template, it messes up the content received from the widget 

Activities

QA

2015-09-08 16:07

administrator   ~0011210

Reminder sent to: nb

Hi,

Thanks a lot for submitting this issue, but unfortunately we can not reproduce this issue.

I added a widget include ([{oxid_include_widget nocookie=1 cl="oxwTagCloud" blShowBox="1" noscript=1 }]) to application/views/azure/tpl/page/details/inc/productmain.tpl, opened an article with variants and selected a variant. No problems.

The template you mentioned (page/checkout/inc/basket.tpl) doesn't exist. Do you mean basketcontents.tpl in this folder?

I checked the same in an older Version (5.0.6) and got the described problem as expected, because this was reported with issue 0005121. But this was fixed.

So please add more detailed steps to reproduce or add the changed template file.

Best regards

nb

2015-09-11 09:39

reporter   ~0011215

Hi,

the issue occurred when using the ROXID template set. The fix attached to 0005121 worked to resolve the issue for us.

Best regards

QA

2015-09-11 10:02

administrator   ~0011218

Closed because it is a problem with a third party theme. If you have information how to reproduce this in OXID, please reopen this issue.