Got

warning: Invalid argument supplied for foreach() in /home/*****/public_html/sites/all/modules/domain/domain.module on line 1039.
warning: Invalid argument supplied for foreach() in /home/*****/public_html/includes/form.inc on line 1181.

The errors were shown on content form of all content types (custom and core)
The error was also shown on content edit and also content types incuded in 'Domain node types' and content types not included in it.
The error was also shown on default domain and subdomains content creation forms.

And ...the error 1039 disappeared always after clicking on create content-->content type again.Sorry,i dont know why.

The errors happened when i choose to give user views domain publishing permission(only) and selected under
New content settings: * : Only show on selected sites
and in
Content editing forms: * : Show user their publishing options

Also shown as expected on content editform was the
Affiliate publishing options
a.Publish to: guru (for user gur who had created a user subdomain)
Select which affiliates can access this content. and

Affiliate publishing options
b.Publish to:* (nil,for user who hadnt created user subdomain)
Select which affiliates can access this content.

For a. when the content was created and published it worked well ,I think and the content was visible in guru.example.com .
So apart from displaying the error i think its functioning alright.

Please look into this.

Comments

nirvanajyothi’s picture

Also ,
i want content type ppts.(one among other content types i use) created by all users to be published in ppts.example.com .For this ,under 'Create content' i have created a custom navigation link pointing to ppts.example.com so that the user is taken to ppts.example.com/add/content/ppts (and thus makin it possible for all ppts created to be shown only in ppts.example.com.)

After enabling 'View domain publishing" and "Show user their publishing options" the content edit form shows only
Affiliate publishing options
a.Publish to: userdomain(guru)

is it possible that the ppts created be shown in userdomain as well as ppts.example.com.
ie. is there any way to get it published simultaneousl on userdomain and ppts.example.com.

-Thank you

agentrickard’s picture

Please do not pile multiple issues into a single report.

For domain-specific content types, see http://drupal.org/node/275278

Investigating the form error.

agentrickard’s picture

Bug confirmed.

agentrickard’s picture

Status: Active » Fixed

This came up when the user was not assigned to any valid domains. Should be fixed in HEAD.

nirvanajyothi’s picture

i think it appeared even when a user was assigned to a domain.

In my issue i have menioned it

Affiliate publishing options
a.Publish to:[] guru
Select which affiliates can access this content.

I had tried granting assign domain editors and edit domain nodes permission to the user guru and in his 'My account' the checkboxes of domains that exist were shown of which guru(user created subdomain) appeared with a tick mark.
So doesnt that mean he had been already assigned to that subdomain.(probably when he created it)

and ..yes...sorry for multiple issues...

nirvanajyothi’s picture

Status: Fixed » Active

am changing it so that you might read the above comment.Thats all.
Please close it yourself afterwards.

agentrickard’s picture

Status: Active » Fixed

There were two minor issues here. Both should be corrected. I will probably roll an rc4 tomorrow.

nirvanajyothi’s picture

ok

nirvanajyothi’s picture

Have installed rc4 ...its superb!

so a sincere thank you to yo rickard....

am having few presentations at college..so will report bac after tat for checking more!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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