Missing update procedure and illegal choice detected error
djudd - September 17, 2009 - 17:29
| Project: | Simplenews Scheduler |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I installed the new dev version to help test it, and so far I've noticed two things:
#1 After installing and running update.php, the new fields were not built into my database. sched_stop, sched_stop_date, and sched_stop_edition had to be built manually.
#2 When I save newsletter issues, I'm often (about 50% of the time) getting an Illegal Choice Detected error. My dblog shows:
Message Illegal choice 1988 in Year element.
Not sure why that's happening, I set the year to 2009.
Sorry I can't be more help in debugging this.

#1
Which version are you using exactly? There is a note on the project page to use the listed 6.x-1.x-dev release instead 6.x-2.x-dev. Moreover, 6.x-1.x has been updated 2 days ago.
#2
I'm using 6.x-1.x-dev and I updated shortly after the update was put up. Sorry, I must have selected the wrong version in the dropdown when I filed this.
#3
The new features are definetly missing the update procedure. Thanks for drawing attention to this. I will check up on the illegal choice error too. How can 1988 get there, if you set the year to 2009...
#4
The update procedure is fixed and I made some changes to prevent illegal values for schedule. Check out the attached patch.
#5
I think the missing update procedure is fixed, and committed to the dev release. If anyone has further information about the illegal choice detected error, please share.
#6
The stop date got it's default value from the database as given in the install file, that caused an illegal choice detected error while editing a newsletter issue. This bug is fixed, and will be committed in the dev release soon.
I change the title, and set this issue to fixed.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.