Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Migrated league from 'initial' to 'open' (as a user with 'administer ULT leagues' permission), but child division belonging to that league remains at 'initial'.
Comments
Comment #1
jthorson CreditAttribution: jthorson commentedComment #2
jthorson CreditAttribution: jthorson commentedModified ult_registration_changestatus_form_submit in /modules/ult_registration/includes/ult_registration_leagues.inc (to fix broken node_load command) and committed to repository.
Comment #3
jthorson CreditAttribution: jthorson commentedComment #4
Sill CreditAttribution: Sill commentedSorry to re-open this ticket but I'm having this same issue still. I click 'open registration' on the league and the child division remains at "initial" stage.
I am using the newest version from git (as of March 15th at 10am PST). I tried it on my current install and even started with completely new ULT install. Same result both times.
Comment #5
jthorson CreditAttribution: jthorson commentedHmmm ... It's working on my devel page, but maybe I've done something to clear the bug condition.
Anything showing up in your watchdog pages? And does the condition persist if you manually update the division status the first time from the division's 'status' page, and then try updating from the league's 'status' page after?
Is your development environment somewhere I can access it and poke around? If so, and you're willing, drop me an email with the site details and admin login - I suspect it could be a possible issue with the imported content type definitions, but I'd need to do a stare and compare to find out. If you don't want to share, or your server isn't public, an export of the ult_division and ult_league cck types from your server may be a good start.
Comment #6
jthorson CreditAttribution: jthorson commentedNever mind ... I commited the fix against the wrong branch ...
On line 161 of /modules/ult_registration/includes/ult_registration_leagues.inc, change
$nodeitem = node_load(array('nid' => $nid));
to
$nodeitem = node_load($nid);
and you should be good to go.
Comment #7
Sill CreditAttribution: Sill commentedHmmm. that still didn't work.
Email sent with my test domain to poke around.
Comment #8
jthorson CreditAttribution: jthorson commentedIssue tracked to a missing 'league status' field in the ult_divisions content type.
Re-imported the field using cck copy, and division registration status now updates properly.