Ticket #1533 (assigned defect) — at Version 4
Make sure ckanext-wordpresser works on CKAN 1.5.1
Reported by: | amercader | Owned by: | ross |
---|---|---|---|
Priority: | major | Milestone: | ckan-backlog |
Component: | ckan | Keywords: | |
Cc: | friedrich.lindenberg@…, rgrp, ross.jones@… | Repository: | ckan |
Theme: | none |
Description (last modified by rgrp) (diff)
Super ticket: #1508
The wordpresser extension does not work with ckan 1.5.1. The wordpress page is not loaded.
Looks like this changeset may be involved https://github.com/okfn/ckanext-wordpresser/commit/0efa0649896a7339865f178a302be639ddc561e1
I think that even before that changeset, the page was shown without any margins.
In any case, the extension seems to be too sensible to changes in the ckan layout so perhaps it should take into account the CKAN version and have a fixed set of xpaths and templates that work for each version
Change History
comment:2 Changed 2 years ago by ross
Investigating:
- The XPATH that the middleware is currently using will definitely not match the navigation on 1.5.1, we'll need to change the xpath and also extract the anchors from the LI tags that are retrieved from the wordpress site.
- Getting the main wordpress content just doesn't seem to work at all. Lots of class/id confusion.
Will fix for 1.5.1 in branch
Note: See
TracTickets for help on using
tickets.