Ticket #1533 (assigned defect) — at Version 5

Opened 2 years ago

Last modified 2 years ago

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

Etherpad: http://ckan.okfnpad.org/wordpresser

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:1 Changed 2 years ago by amercader

  • Owner set to ross
  • Status changed from new to assigned

comment:2 Changed 2 years ago by ross

Investigating:

  1. 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.
  1. 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

comment:3 Changed 2 years ago by ross

  • Milestone changed from current-ckan-sprint-2011-12-19 to ckan-backlog

comment:4 Changed 2 years ago by rgrp

  • Description modified (diff)

comment:5 Changed 2 years ago by rgrp

  • Description modified (diff)
  • Milestone changed from ckan-backlog to current-ckan-sprint-2012-01-09
Note: See TracTickets for help on using tickets.