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

sgabe - September 18, 2009 - 08:44

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

djudd - September 18, 2009 - 13:51

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

sgabe - September 20, 2009 - 10:00
Version:6.x-2.x-dev» 6.x-1.x-dev

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

sgabe - September 20, 2009 - 13:25

The update procedure is fixed and I made some changes to prevent illegal values for schedule. Check out the attached patch.

AttachmentSize
simplenews_scheduler.580494_01.patch 2.8 KB

#5

sgabe - October 16, 2009 - 18:04
Status:active» needs review

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

sgabe - October 26, 2009 - 16:56
Title:A couple of bugs» Missing update procedure and illegal choice detected error
Status:needs review» fixed

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

System Message - November 9, 2009 - 17:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.