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

jthorson’s picture

Issue tags: +ult_registration
jthorson’s picture

Status: Active » Fixed

Modified ult_registration_changestatus_form_submit in /modules/ult_registration/includes/ult_registration_leagues.inc (to fix broken node_load command) and committed to repository.

jthorson’s picture

Status: Fixed » Closed (fixed)
Sill’s picture

Sorry 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.

jthorson’s picture

Status: Closed (fixed) » Active

Hmmm ... 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.

jthorson’s picture

Never 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.

Sill’s picture

Hmmm. that still didn't work.

Email sent with my test domain to poke around.

jthorson’s picture

Status: Active » Fixed

Issue 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.

Status: Fixed » Closed (fixed)
Issue tags: -ult_registration

Automatically closed -- issue fixed for 2 weeks with no activity.