Closed (fixed)
Project:
Diff
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2010 at 01:50 UTC
Updated:
13 Jul 2011 at 06:04 UTC
Jump to comment: Most recent file
After upgrading to 2.1 Drupal gives a warning on all node pages:"warning: Illegal offset type in isset or empty in... xxx/modules/node/node. Flushing all caches did not help.
After reverting to version 2.0 the warnng disappeared.
Thanks.
JanPieter.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | diff-access_control.diff | 986 bytes | stacysimpson |
Comments
Comment #1
stacysimpson commentedSame problem here. One interesting thing to note is that the warning only appears for users without administrative rights.
Comment #2
stacysimpson commentedFinally had a chance to chase this one down; The attached change seems to work for us. The module's access callback assumed a set of data was always available.
Comment #3
jippie1948 commentedHi,
I downloaded just today the dev version of 2010-Oct-18. Tested it and after flushing the cache that version works fine: No problems anymore.
Hence I did not test the above patch by stacysimpson. But anyway, thank you very much for posting it, as it triggered me to do something about what went wrong.
JanPieter.
Comment #4
stacysimpson commentedThis is still busted in the latest 6.x-2.x-dev release, Feb 25, 2011. My patch in #2 seems to resolve the problem, so I'm reposting for review.
Comment #5
jippie1948 commentedI applied your patch and it works! :-)
Thanks, Stacy
JP
Comment #6
drunken monkeyPlease see #1182154-3: Offering to maintain Diff if you'd be willing to take over this project.
Hopefully, this way all these issues with working patches will finally be fixed.
Comment #7
realityloop commentedapplied to dev
Comment #8
realityloop commentedstatus change