Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a user tries to edit a piece of content they get a redirect loop and it fails.
Comments
Comment #1
nicxvan CreditAttribution: nicxvan commentedThis is blocking us from making sessions live on a camp.
Comment #2
japerryHi there, can you elaborate a little more on this? Its in the current beta, and the user is what role? I haven't seen this issue yet, but hopefully some of those working on COD can chime in if they've seen something similar.
Comment #3
japerryComment #4
nicxvan CreditAttribution: nicxvan commentedIt is for users in any role except Super admin. User 1 can edit any content no problem but anyone else gets the loop. To test I removed all redirect modules and even entity prepopulate. If you like we can coordinate on IRC and I can give you a log in so you can see it.
Comment #5
Last Call Media CreditAttribution: Last Call Media commentedI'm experiencing this too.
I think it is related to the og group reference. For example
/node/72/edit?og_group_ref=1 goes redirect loop.
/node/72/edit?og_group_ref= without referencing a group id will let me edit the node.
This was an upgrade from alpha where the group was not referenced beforehand. After I referenced it from the above technique, I was able to edit it from then on.
node/add/session?og_group_ref=1 gets "The website encountered an unexpected error. Please try again later." on save. So I can't create new sessions either.
Comment #6
nicxvan CreditAttribution: nicxvan commentedDo you know where the value is being added? I thought it was entity reference prepopulate, now I suspect it's from one of the custom modules though.
Comment #7
Last Call Media CreditAttribution: Last Call Media commentedIt is added based on which event is flagged as the "Default Event."
You could prepopulate it to another event but I think a COD support module sets it to the default event if one isn't set.
Comment #8
nicxvan CreditAttribution: nicxvan commentedThanks, I knew it was pulling from the default event, I'm just not sure where the callback is coming from (there is no more cod support module)
I'm trying to change the prepopulate settings for the moment.
Comment #9
nicxvan CreditAttribution: nicxvan commentedI just tried about a dozen variations of the additional behaviors options on the event field for sessions. I got redirects on all settings.
Comment #10
Last Call Media CreditAttribution: Last Call Media commentedRe: #8
Could it be in cod_events.module? Toward the bottom.
Comment #11
japerryThis was actually fixed with the commit below, and we'll roll a BETA2 out so people can get this pesky issue resolved :-)
http://cgit.drupalcode.org/cod_support/commit/?id=3b3ea4eec8a1a65db079e2...