#18 — Portlet next-previous and timed navigation not working

by Harald Friessnegger last modified Mar 10, 2010 06:09 AM
State Tested and confirmed closed
Version: 0.8.2b2
Area Functionality
Issue type Bug
Severity Important
Submitted by Harald Friessnegger
Submitted on Feb 10, 2010
Responsible Nathan Van Gheem
Target release:
The next and previous buttons do not work. When the portlet is set to timed the image stays the same.

The javascript is sending ajax requests in the timed version and also when the navigationbuttons are pressed.

the parameters are always the same:
@@get-image-for-gallery-portlet?portlet-gallery-index=1&portlet-gallery-uid=58ec21434455365bd68599407fe40662

when viewing the gallery itself all contained images are shown
Steps to reproduce:
create a gallery with more than one image
create a galleryportlet and set it to timed
watch the portlet: images are not changed
press the navigation buttons: images do not change
Added by Nathan Van Gheem on Feb 10, 2010 03:21 PM
Issue state: UnconfirmedConfirmed
Severity: MediumImportant
Responsible manager: (UNASSIGNED)vangheem
Seems to be something wrong with the plone 4 jquery. The request is responded to correctly and everything but the success response method in jquery is never called.
Added by Nathan Van Gheem on Feb 10, 2010 03:43 PM
Issue state: ConfirmedResolved
This is now fixed in the trunk of the svn. For some reason the jquery was not evaluating the json at all. Since it couldn't, it would just stop and not call the method after the ajax call. I fixed it by manually converting the data into json.

Added by Nathan Van Gheem on Feb 10, 2010 03:44 PM
Let me know if a new release is required right away. If not, I'll wait a couple days and see if anything else comes up.

Thanks.
Added by Harald Friessnegger on Feb 10, 2010 04:48 PM
Issue state: ResolvedTested and confirmed closed
timed and manual navigation in portlets works again.

i'll spend the next week or two with integrating several addons into a plone4 site and might come up with additional bugs/ideas/questions, so there's no immediate release required ;-)

thanks again for your fast response
Added by Nathan Van Gheem on Mar 10, 2010 06:09 AM
released

No responses can be added.