Closed (fixed)
Project:
Outline Designer
Version:
6.x-1.3
Component:
Code / API / JS
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2010 at 14:36 UTC
Updated:
2 Mar 2011 at 21:11 UTC
Based on your pathauto settings, the duplicate function can cause an issue where a single path points to multiple nodes (the original and the duplicate). Drupal will respect which ever has the first db entry so you "can't get to" the newly duplicated nodes. I'll publish a new release for this soonish but if you're having this issue the "patch" is very simple.
Add the following after line 529 ($dup_node->created = NULL;) in outline_designer.module
$dup_node->path = NULL;
Comments
Comment #1
btopro commentedhas anyone been able to replicate this? I've only seen it happen occasionally so I'm not sure if it's actually the OD duplicate function or something specific to the one site I'm running it on. Either way the line above won't hurt.
Comment #2
btopro commentedComment #3
tlaurent commentedJust to confirm that I've seen a similar behaviour.
It was during a testing day with several users creating books on the same server following a script (so creating pages with the same name but in different books).
One user had a problem while duplicating pages (I don't remember the error), and after that all users creating pages with the same title than one of the page he duplicated would land on his page instead of theirs (the path generated by pathauto would be the same than the guy's page).
But I can also confirm it's not straight forward to reproduce...
Comment #4
btopro commentedok, for now adding that line above should help, outline designer doesn't allow synchronous outline modification with another user (like good docs) so weight changing / ordering of nodes by different users at the same time can cause major issues. This is more of a drupal issue so I'm not sure how we'd be able to allow that.
Comment #5
tlaurent commentedHi btpro,
Sorry, I haven't been very clear in my previous explanation.
In the case I'm referring to, multiple users use the same server at the same time, but only using Outline Designer on their own books, they don't edit/manage each other's books.
I'm not expecting at all to have 2 users working on the same book outline at the same time.
Comment #6
btopro commentedAh ok I see what ur saying, this also would stem from the same issue
Comment #7
btopro commentedfixed in 1.3
Comment #8
btopro commentedComment #9
btopro commented