Closed (works as designed)
Project:
Scheduler
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2011 at 20:09 UTC
Updated:
10 Sep 2013 at 10:42 UTC
We have scheduler associated with an event content type. Both publishing and unpublishing is allowed but not required.
Trying to add a new event or edit an existing one without scheduling still requires an unpublish date for the form to be submitted.
Comments
Comment #1
jonathan1055 commentedHi,
Sorry to hear you are having a difficulty. This is generally working for others, so my first thoughts are:
Jonathan
Comment #2
emersonweb commentedJonathan, thanks for responding.
1. I am only prompted for the unpublish date; no entries are made to either field.
2. I will investigate -- but it something I only noticed after upgrading to 1.8.
3. The "required" vars do not appear in the database for the content type -- just publish_enable, publish_touch, and unpublish_enable.
Thanks!
Comment #3
jonathan1055 commentedWith 3. what are the exact variable names in the table? The names should all start scheduler_...
Also 4. Can you check you have run a db update? The new variables should all exist (they are created for each content type in db update 6101)
Jonathan
Comment #4
emersonweb commentedThese are all names in the variables table for the content type with which I am contending
scheduler_publish_enable_event, i:1;
scheduler_publish_touch_event, i:1;
scheduler_unpublish_enable_event, i:1;
DB Update reports no update for scheduler, last entry is 6101.
Thanks!
Jason
Comment #5
jonathan1055 commentedHi Jason,
Is this still a problem? Your variable table seems fine - if scheduling is not required and you have not edited the content type yet, then the 'required' entries will not exist.
If you can edit the scheduler.module file, can you search in scheduler_form_alter() for the following:
then add just after:
That should show if the value is being set correctly by scheduler when the form is built.
Jonathan
Jonathan
Comment #6
jonathan1055 commentedNo response to my prompt five weeks ago, and nothing since Oct 2011.
Closing with 'works as designed' but please re-open if you still have a problem.
Jonathan