Closed (works as designed)
Project:
Scheduler
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2011 at 17:12 UTC
Updated:
27 Nov 2011 at 16:57 UTC
Jump to comment: Most recent file
Comments
Comment #1
blairski commentedThere is a mistake in the above patch, so attached is the fixed one.
Now it checks if the node status is 1 (published) and if so, throws the error, otherwise it displays the original message.
Comment #2
jonathan1055 commentedHi,
I'm not exactly sure of your logic, but before we go any further, I think your second patch is a patch on top of your first. What we really should see is a patch against the original. Foer example the line $node->status does not appear in your second patch file.
Also, any patches should be done against D7 first.
Jonathan
Comment #3
eric-alexander schaefer commentedThe default for a node type might be "published". The user would have to change that to "unpublished" manually every time a node is to be scheduled or otherwise a form error is displayed. I don't think this would be desirable. Setting the state to "unpublished" automatically when a node is to be scheduled makes more sense.
Comment #4
jonathan1055 commentedYes that is a conclusion I came too, it is specifically designed to do that. You can only have automation one way ;-) If the user wants the node to be published immediately they need to remove the scheduled publishing date.