plan to update to 4.7 ?

CommentFileSizeAuthor
#6 nodeperm_role_newapi.patch.txt7.04 KBhutch

Comments

robb’s picture

Yes, working on migration over the next couple of weeks.

hutch’s picture

Would it help if I (attempted) to convert the forms to the 4.7.x API?
Lines 47, 48, 49, 91, 92, 111, 224, 226,295, 297 in
nodeperm_role.module,v 1.4 2005/02/27 10:23:28 jvandyk
or would it be better to work on the 'package' version, with the 'inherited' patch applied?

robb’s picture

Thanks for the offer to help!

If you would like to take a shot at it, please feel free to do so. I am working on my node_access module now. This is proving to be a bit painful due to the changes in Form API flow (not just function calls).

I figure it will be Friday/Monday before I could get to Nodeperm_role.

hutch’s picture

OK, I'll make a start tomorrow. It's a good way to get familiar with the API and do something useful at the same time ;-)

Anyway, I've got a job for it on a multilingual, multi-role site using workflow and actions, hope it works!

robb’s picture

You may wish to look at the other modules I am porting to 4.7. Some of these help with workflows a lot! The new actions module I wrote allows for a simple hierarchical transition from various states, saves a lot of effort in defining transitions.

http://www.lab.canfield.com/projects

hutch’s picture

StatusFileSize
new7.04 KB

I have done the donkey work of converting form_xxx to the new API.

It fell over on a few things, notably node_list(), but a readaround indicated a solution, node_get_types(), hope it's the right one

I haven't tested it yet, just got as far as the /admin/settings/nodeperm_role page.

As I'm not familiar with how it *should* work, I'll have to proceed carefully
I probably need to set up wokflow and actions first before I can do much more

HTH

robb’s picture

COOL. I will look this over in the next few days.

robb’s picture

Title: Port 4.7 update » Port 4.7 update available
Assigned: Unassigned » robb

4.7.x version is available. See project page for details.

Limitations: Lacks support for Workflow module action at this time

robb’s picture

Status: Active » Closed (fixed)

Closing this topic. Any bug/reature reports should go into a new thread.