To reproduce:

1) Enable Domain Source and Overlay modules.

2) Go to example.com

3) Create a node, assign it to example.com and one.example.com

4) Assign Domain Source to one.example.com

5) Save the node.

You should get a blank page.

Comments

agentrickard’s picture

Does not occur with Overlay off.

agentrickard’s picture

StatusFileSize
new133.01 KB

Screenshot of the error.

agentrickard’s picture

Priority: Normal » Major
StatusFileSize
new75.61 KB

And here's why....

Permission denied for <http://one.example.com> to get property Window.Drupal

I don't know what the fix would be, outside of a core change.

Any JS experts out there?

agentrickard’s picture

Status: Active » Needs work
Issue tags: +overlay
StatusFileSize
new908 bytes

Here's a patch that almost works, but leaves the URL in the browser window incorrect (on FF 3 for OS X at least.) It seems that the drupal_goto() isn't issued?

This patch does, at least, close the dialog.

ksenzee’s picture

Subscribing.

agentrickard’s picture

agentrickard’s picture

Also, _any_ domain switching within the overlay just plain fails.

agentrickard’s picture

Status: Needs work » Needs review
StatusFileSize
new1.37 KB

And a possible patch?

agentrickard’s picture

StatusFileSize
new1.37 KB

Let's move the easiest condition to the front.

dave reid’s picture

Subscribing.

duaelfr’s picture

I have the same issue when saving theme parameters

There is the output of my JS console

jquery.js:3642 > Uncaught Syntax error, unrecognized expression: [href=/]
jquery.js:3642 > Uncaught Syntax error, unrecognized expression: [href=/admin/appearance]

Hope this can help

agentrickard’s picture

Domain switching seems to work now (in Drupal 7.14). Node save still fails -- but in a new and different way.

This is really a core issue.

agentrickard’s picture

Status: Needs review » Closed (won't fix)