Now that the Drupal 6 Betas are coming out, we have to consider updating the Services module to Drupal 6. Although getting it into core is in discussion for Drupal 7, we have to first update Services to Drupal 6.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | services_d6_3.patch | 30.52 KB | robloach |
| #7 | services_d6_2.patch | 31.36 KB | marcingy |
| #2 | services_d6_1.patch | 24.57 KB | robloach |
Comments
Comment #1
snelson commentedHi Rob,
Its on my list ... somewhere. I would definitely like to have a D6 version ready when D6 is released. Will keep everyone posted.
Scott
Comment #2
robloachThere are some menu and forms stuff that needs work, as well as validation that the services actually work. Any help greatly appreciated.
Comment #3
snelson commentedRob, you rock.
Gonna test this out as soon as I can.
Thank you for your help!
Comment #4
robloachHi Scott,
I was wondering if you needed a co-maintainer for the Services module? I could help out with both the reviewing and committing of patches, as well as with the maintenance of the Drupal 6 branch.
Thanks,
Rob
Comment #5
snelson commentedRob, that would be awesome. I'd love to bring you on board -- I need the help. Tell me what your CVS name is and I'll add you.
Comment #6
robloachMy CVS account name is (creatively) "robloach". Are there any things you'd like me to take a look at first? If not I'll have another hack at the Drupal 6 patch, and a quick look at the other two submitted patches.
Comment #7
marcingy commentedImproved version of patch for drupal 6.
There are still issues but it now reflects the usage of form_state and controlly applies access permissions to services.
However I think that following code:
Needs to be moved into the indvidual server functions (and rewriten of course) otherwise the paths for any new servers won't be found because of the way the new menu system operates.
Alternatively the _enable function in each server install could call menu_rebuild.
Comment #8
snelson commentedRob, you're good to go. I really appreciate your willingness to help out. Go ahead and dig into whatever you want.
Cheers,
Scott
Comment #9
robloachThe problem was that we needed hook_theme in there to theme the form for us. I fixed a couple of other things, including the menu route for the services. It now uses a dynamic argument to load the server, so we don't have to pass the menu handling to the server itself. There was also a small bug in hook_menu somewhere that was putting out an error that's now fixed.
It looks pretty good! The only issue I see now is that when you visit
admin/build/services/browse/node.load, you don't see the active menu path (missing breadcrumb and services tabs). This shouldn't be something that holds back a release though, or sticking it into the CVS. Mind reviewing this a bit and making it RTBC if you want? I'll then stick it into HEAD.Comment #10
marcingy commentedI'll give it a go - I knew there were some issues as I basically got it into a working state last night and then ran out of steam!!
Comment #11
marcingy commentedOne issue. A notice is generated in xmlrpcs.inc
Trying to get property of non-object in C:\broker6\includes\xmlrpcs.inc on line 70.
However that is outside the scope of this patch. I'll roll a patch for that and submit to the issue queue for drupal 6 itself.
Comment #12
robloachGreat work! I'll create the DRUPAL-6--1 branch soon.
Comment #13
robloachThanks again, guys.
Comment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.