Port Scheduler to 6.x

tanoshimi - January 3, 2008 - 20:21
Project:Scheduler
Version:6.x-1.2-rc1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Here's a 'starter-for-10' port of the current (1.8) release of scheduler module for Drupal 6.x. I've tested it and I'm pretty sure it's stable, and includes all the functionality of the module, but please note that this is a 'bare-bones' version - I haven't included any of the .po translation files because I believe 6.x has a whole new approach to translation which I haven't really figured out yet, so sorry for that.

I'm sure that with the addition of actions into core, and the opportunities presented by workflow module etc. there are now other ways in which scheduled publishing of nodes can be achieved, but I rather like the simplicity of the approach in the scheduler module... so I think there is still a need for this in the brave new world of D6 at least.

AttachmentSize
scheduler.zip4.9 KB

#1

nestor.mata - April 30, 2008 - 17:41
Status:patch (code needs review)» patch (reviewed & tested by the community)

I have test it and it seems to be working just fine.
Nice work tanoshimi.

Could this be included into the cvs and generate a version?

Regards,
Nestor

#2

thomas23@drupal.org - May 25, 2008 - 20:15

Could this be included into the cvs and generate a version?

Yes, please :)

#3

alliax - June 2, 2008 - 15:31

Hello,
I use the 6.1.1 which I've downloaded today from the project's page, but drupal update checker is complaining about it being an unsupported version. Is your .zip the very best of scheduler for drupal6, or is the file I downloaded ok?

#4

thomas23@drupal.org - June 2, 2008 - 21:44

I've had the same complain from drupal's updater. To me scheduler.info looks kind of strange compared to other modules's. For example it's missing package= and the first line normally has some (cvs?) tagging. And the second (packaging script) part misses a core = "6.x" line. I haven't checked if changing this by hand does convince drupal, though, nor do I know if those are required .info lines.

#5

nonsie - June 3, 2008 - 00:14

I downloaded DRUPAL-6--1-1 from CVS today and it's properly tagged as 6.x compatible.

#6

Eric Schaefer - June 3, 2008 - 05:09

Currently there are no official releases of scheduler for drupal 6. We are working on it. Expect a new version in a couple of days.

#7

thomas23@drupal.org - June 3, 2008 - 07:52

Thanks, Eric, for that update

#8

Eric Schaefer - June 11, 2008 - 19:19
Status:patch (reviewed & tested by the community)» patch (code needs review)

I just released 6.x-1.2-rc1.
Please test it carefully. I am not maintaining any D6-based sites, so I can not test it under real world conditions.

#9

Eric Schaefer - June 11, 2008 - 19:19
Version:HEAD» 6.x-1.2-rc1

#10

thomas23@drupal.org - June 20, 2008 - 18:38

just did an db update and got the following error. Don't really know what to do with it:

An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Please continue to the error page
An error occurred. http://my.url.com/update.php?id=19&op=do <br /> <b>Fatal error</b>: Call to undefined function _system_update_utf8() in <b>/path/to/htdocs/drupal/sites/all/modules/scheduler/scheduler.install</b> on line <b>51</b><br />

it goes on
The update process was aborted prematurely while running update #1 in scheduler.module. All errors have been logged. You may need to check the watchdog database table manually.

dblog doesn't have anything, though.

#11

thomas23@drupal.org - June 20, 2008 - 18:39

#12

Eric Schaefer - June 21, 2008 - 13:51

Maybe the update functions should not call functions that do not exist in D6 anymore? ;-)
I wonder why it didnt trigger that error on my test site.

#13

Eric Schaefer - June 21, 2008 - 16:19

Did you select the update version manually?

#14

Eric Schaefer - June 22, 2008 - 08:58

There are 3 update version for scheduler. #1 and #2 are relics from updating from D47 to D5 and #3 is for updating from D5 to D6. If you did not update from earlier major releases the updates should not be executed at all. Thats why I was asking if you ran the update versions manually.

#15

thomas23@drupal.org - June 22, 2008 - 13:30

Hi Eric.

Thanks for responding. What I did was follow D6 instructions as I was told schedular has been upgraded. So I got the tar ball, ftp, etc. And than I was told the update script needs to be run. I saw the page that states to set settings.php accordingly and all that. Does that answer your question if I ran it manually?

So what am I to do now? Nothing as nothing needs to be updated? (I'm running a D6 only site so not updates from D5 or similar)

Cheers.

#16

Eric Schaefer - June 22, 2008 - 14:09

Don't worry. You don't need to update. I have no idea why the update function with the missing function was called, but it doesn't matter.

Have fun.

BTW: I will release RC2 tonight. I will contain a new DB update function. Because of your questions I realized that RC1 was missing a small DB update (nothing important, just some housekeeping). :-)

#17

Eric Schaefer - June 29, 2008 - 17:41
Status:patch (code needs review)» fixed

Release 6.x-1.2 is now available.
Have fun.

#18

Anonymous (not verified) - July 13, 2008 - 17:43
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.