Problem/Motivation

After a successful upgrade from 7.x-2.9 to 3.0-rc5 I noticed the domains list is showing none of the values.

Everything else seems to be working fine so far except in the Domains list all the columns are blank. See attached photo.

https://img.skitch.com/20111126-gawt8i3b7pnygpm2tuwxmedg8a.jpg

Tried the latest dev from 2011-Nov-19 as well with the same results.

Proposed resolution

Have a peek to see if you are getting the same results and let me know if I need to provide more details.

User interface changes

/admin/structure/domain
Check table is provided with all the data it needs to render.

Comments

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new4.1 KB

Sorry that was my bad, I was trying to hide the domain settings on some forms and got a bit carried away with a form alter

$form['domain']['#access'] = FALSE;

Hope I can make it up to you, while I was debugging I noticed a note about a
TODO: The object/array bit here is ugly.

So I wrangled that all up by replacing the foreach with objects with a while and fetchAssoc()
Then replaced all the values accessed by object to array and removed the casts

agentrickard’s picture

Title: Domain list showing blank list of domains after upgrade from 7.x-2.9 » Clean up pbject / array handling on overview form

Thanks. Retitling.

agentrickard’s picture

Title: Clean up pbject / array handling on overview form » Clean up object / array handling on overview form

Fixes typo in title.

agentrickard’s picture

Status: Needs review » Fixed
StatusFileSize
new4.72 KB

Minor re-roll. Committed.

joelpittet’s picture

Cool, did I do anything wrong in my patch? I tried diffing the patches (meta diff:P)

And all I saw was removing the tree stuff and the $delta domain count was re-factored. Did I do anything wrong?

agentrickard’s picture

Wrong? No. The patch was malformed (patch -p1 < foo failed) and I cleaned up the way domain_api() is called.

Thanks.

Status: Fixed » Closed (fixed)

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