Closed (fixed)
Project:
Filebrowser
Version:
6.x-2.0-rc12
Component:
Directory Listing Pages
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Sep 2010 at 04:37 UTC
Updated:
22 Sep 2010 at 13:10 UTC
Does anyone has ever tried to insert more than one node dir_listing with the module http://drupal.org/project/InsertNode in a Page ? because strangely, it displays the same dir_listing node:
[node:123] <-- a node type dir_listing
[node:456] <-- another node type dir_listing
In this case, this two codes display the first node [node:123] twice. And of course it works well with any another node type.
Comments
Comment #1
Yoran commentedThe only reason I see is that you have the same path for each dir_listing (there is a cache based on path). Is it the case ?
Comment #2
Nicolas Georget commentedNo. The two nodes dir_listing have two different path. You can see the result on this page: http://layout.sophiemartin.com/node/261
I inserted 2 nodes into:
By the way, maybe it would be useful: Drupal 6.19, InsertNode 6.x-1.3, and of course the latest version of filebrowser
Comment #3
Nicolas Georget commentedI have just tried a test with a clean install of Drupal, insertNode and filebrowser only. And i got the same upshot.
Comment #4
Yoran commentedCan you give a try to the last dev version ? I installed InsertNode (strange naming btw), made a page with two dir_listing, and it works...
Comment #5
Nicolas Georget commentedLast dev version of filebrowser ? if yes, i have the same issue (with the usort() PHP warnings: #841372: usort() Invalid comparison function also).
Here's the URL if you want to see: http://layout.sophiemartin.com/drupal-6.19-test/
Would it help you to have a temporary account on this test ? Because you are french (and me too) i can trust you ;-)
Comment #6
Yoran commentedHum.. What version of PHP are you running exactly ?
ps: pour le compte de test, ça ne me sera pas utile :) On dirait plutôt que j'utilise une fonction qui ne passe pas dans une version antérieur de PHP. Si c'est le cas, va falloir que je change de stratégie :)
Comment #7
Yoran commentedI just commited a new version that should solve the "double inserted node" original issue (it'll take to build dev which should be 6.x-2.0-rc13"
Comment #8
Yoran commentedComment #9
Nicolas Georget commentedThat's what i was afraid: The PHP version. On the server, it is a 5.3.3 compiled with MacPorts. And had many issues due to >= 5.3 PHP version.
Anyway fyi, I tried with a 5.2.13 and same behavior. Let's see in your next dev version.
I don't know how you fixed it, but i noticed yesterday that your function file_listing() return wrong values in the array.
Comment #10
Nicolas Georget commentedI confirm: Your build 6.x-2.x-dev @ September 8, 2010 - 07:08 fixed this issue.
Merci !!
Comment #11
Yoran commentedcontent :) merci à toi pour les tests