Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

After installing c.cover, AJAX responses gets wrapped #331

Open
rnixx opened this Issue · 5 comments

5 participants

@rnixx
Collaborator

After Installing collective.cover, AJAX responses gets wrapped by html / body when performing $.ajax calls.

Response before Install
before_c cover

Response after Install
after_c cover

This breaks scripts depending on returned structure.

IMO it's not a good idea to overwrite generic API's at all.

@agitator
Collaborator

same here...
using c.cover in connection with p.a.contenttypes and therefore z3c.forms kills some of the widgets
for example the relations

@hvelarde
Owner

this seems to be a very ugly bug; it would be great if you can help us fixing it; right now we have no time neither resources.

@rnixx
Collaborator

after some investigation it turns out this issue gets caused by plone.app.tiles or some one of it's dependencies. it seems that ESI_TEMPLATE of plone.tiles.esi gets added either by pone.app.tiles or plone.app.blocks somehow. Not sure though. Needs further investigation. Will point to the relevant package as soon as i know more details.

@hvelarde hvelarde added this to the 1.0a9 milestone
@hvelarde hvelarde modified the milestone: 1.0a9, 1.0b1
@petri petri referenced this issue in plone/plone.app.blocks
Merged

Fix blocks transforms to be opt-in #12

@petri
Collaborator

It looks like a fix for plone.app.blocks was merged by @datakurre and subsequently released in p.a.b 2.0.0? Can anyone confirm whether that fixes this issue or are some changes still required here? Is it possible to have collective.cover require plone.app.blocks 2.0.0?

@hvelarde hvelarde modified the milestone: 1.0b2, 1.0b1
@datakurre datakurre was assigned by hvelarde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.