Closed GoogleCodeExporter closed 9 years ago
According to this http://drupal.org/node/296632
The problem is with the service rest api for drupal 6 (it seems that is solved
on the 7), as the selectNodes function used to retrieve all nodes for a
taxonomy (category) limits the number of items returned to 10.
If the param "pager=false" is used on the post data using the idea from here:
http://drupalcontrib.org/api/drupal/contributions%21services%21tests%21functiona
l%21ServicesResourceTaxonomyTests.test/function/ServicesResourceTaxonomyTests%3A
%3AtestTermSelectNodes/6
then the number of items returned is the value of the rss feed max items, that
is adjusted here: http://www.freedomotic.com/admin/content/rss-publishing
There is no way to ask for "all the nodes" without some kind of paging using
the rest.
So the patches are:
1) Update the drupal site to the version 7 that seems that have this issues
resolved. Another choice is to apply some kind of patch to the current 6
version that adds another parameter.
2) Setting the rss to the maximum value (30) and setting the pager to false on
the call to api. The drawback is that if any category has more than 30 nodes,
we will have the same problem.
3) It seems that we could add a parameter to the url to ask for an specific
page using ?page=number. So the marketplace should recursively ask for all
pages and attach them on the same array. The problem is that we need to find a
way to know the number of pages BEFORE the selectNodes call.
I will try to develop the 3 but the 1 should be taked into account as the
drupal 6 is getting old.
Original comment by gabriel....@gmail.com
on 10 Jan 2013 at 12:45
This issue was closed by revision 796531feffaa.
Original comment by gabriel....@gmail.com
on 10 Jan 2013 at 1:21
The jfrontend is still only showing 10 plugins. It seems to be related with the
MarketPlaceForm and the PropertiesPanel plugin.
Original comment by gabriel....@gmail.com
on 10 Jan 2013 at 2:37
This issue was closed by revision b80a208dccb9.
Original comment by enrico.n...@gmail.com
on 14 Jan 2013 at 10:11
Original comment by gabriel....@gmail.com
on 14 Jan 2013 at 11:36
Original comment by virtualc...@gmail.com
on 26 Feb 2013 at 10:30
Original issue reported on code.google.com by
gabriel....@gmail.com
on 9 Jan 2013 at 8:00