I just upgraded from nodeownership 7.x-1.0 to 7.x-1.x-dev, and I've found a number of errors that seem to step from using Drupal 6 code. It seems like some of the D7 changes in 7.x-1.0 were somehow overwritten or reverted in 7.x-1.x-dev.
Examples:
- nodeownership_perm() is called rather than nodeownership_permission()
- nodeownership_admin_settings() calls node_get_types(), which does not exist in D7.
- nodeownership_nodeapi() is called rather than nodeownership_node_view()
- DBTNG is not being used
Should I be pulling from another branch to see the most recent code?
Comments
Comment #0.0
grasmash commentedfixing hook_permission statement
Comment #0.1
grasmash commentedadded nodeownership_node_view() example
Comment #1
grasmash commentedstrangely, these issues don't seem to exist on the 7.x-1.x branch of the git repository.
Comment #2
grasmash commentedThis issue should be fixed with the new dev version, pushed out today.
Comment #4
coloryan commentedCan you confirm the update on March 31? The latest appears to be 2012-Mar-18 and I'm having this issue.
Comment #5
grasmash commentedI can confirm that this has been pushed to the repository, but it doesn't seem that it's being pushed to the nightly dev snapshots. You'll have to get the code directly from the repository.
I've tried contacting the maintainer multiple times about gaining access to post releases, but he has been unresponsive.
Comment #6
gauravkumar87 commentedHi Madmatter23,
I've given you the 'Administer Releases' permission. My apologies for the delay in response.
Gaurav
Comment #7
grasmash commentedThanks! I've pushed out a 7.x-1.2. I'll keep track of any bugs that may arise from my changes.
Comment #8.0
(not verified) commentedadded DBTNG example