Greetings,

This is one of those times where I'm not sure which module issue queue to start with. I have a strange behavior going on that involves the mixture of a few modules:

  • node_clone
  • workflow
  • views

Here is what is happening:

I have an Event content type that I have setup to require approval prior to being published, using the Workflow module.
I then have a view of Events that has a filter that requires that the current status of that workflow be set to Approved, or it won't show the Event in the view.

All of this works great until we clone an event with the node_clone module. But it's very strange what is happening. A cloned Event inherits the approved status of the event it was cloned from, and that is good! The cloned Event node detail page shows up fine if you go directly to it. However, that event will NOT show up in the event view! If I remove the workflow current status filter, then the clones appear in the view, but I can't do that because then all kinds of non-approved events could start showing up in that view.

Event stranger, if I edit the clone and change its status to "Under Review", save, and change the status again to "Approved", then it is all fixed and the clone shows up in views. It's worth noting here that it does NOT fix it just to click the Save button without changing the status back and forth. I have to actually change the status to "Under Review" and then back to "Approved".

My hunch then is that the difference between a Event created from scratch and a cloned Approved Event, is that the clones don't have a "Past" status. It appears that the Views filter for the current status of a Workflow doesn't really work until there is a past status too.

So, who's bug is this exactly, and who is the best module author to help get it resolved? I'm not sure if it's a workflow issue because the workflow status view filter doesn't work in this case, or if it's a bug in node_clone because it doesn't inherit the same workflow history as the event I cloned from.

Thanks!

Comments

strings6 created an issue.

strings6’s picture

Is anyone able to provide any thoughts on this one?