Closed (fixed)
Project:
Checkout (Content locking)
Version:
master
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 May 2006 at 08:46 UTC
Updated:
11 Oct 2006 at 15:09 UTC
Hello,
I picked up checkout module (4.6 cvs) and tried it with 4.7 drupal version. I modified form related code using form updater. I made some more changes in checkout_nodepai hook to reflect 4.6 to 4.7 changes - like replacing 'form pre' with 'prepare'.
However, checkout does not happen - because nodeapi gets called thrice with $op values load, prepare, load. If I replace 'validate' case to 'load' checkout happens. But it locks even on view!
Is there a 4.7 version of checkout module?
Thanks,
Patrick
Comments
Comment #1
hubrt commentedwith the CVS version running on 4.7, I get the following error:
Fatal error: Call to undefined function: form_select() in
/modules/checkout/checkout.module on line 48
Comment #2
joel_guesclin commentedI'm afraid there is no 4.7 version yet - I generally wait till there is a really stable new version out before converting my modules and 4.7 will require a lot of work.
However, if you can wait around I do indeed plan to produce a 4.7 version in the not too distant future!
Comment #3
blalond commentedThis also tripped me up as I'm running Drupal 4.7 and Checkout only works on 4.6. So, it would be good if Checkout didn't appear in the list of modules when the 4.7.x filter is on. Would you be able to change the project info so that it's not listed under the 4.7 modules anymore? Thanks.
Comment #4
joel_guesclin commentedI just downloaded Checkout from the list of 4.7 modules and it does not contain any calls to form_select - and appears as far as I can see to be the same version that I have successfully tested on 4.7 (form_select appears nowhere in the code). So I suggest downloading this version from the list of 4.7 modules and seeing if it works. Hopefully it should!
Comment #5
joel_guesclin commented