I found that trying to preview a node on the add form doesn't work if the content type is set to publish to a particular domain. I'm guessing this is because the node hasn't been published so its getting blocked with an access denied.

This works when Publish to 'All domains' is ticked in the content type settings but I want to avoid doing this. Previewing on edit also works fine as the node has been published.

Is there a work around?

Comments

rviner’s picture

I managed to resolve the issue in the end by adding node/add/* in the special page requests settings.

agentrickard’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

How is this value being set "if the content type is set to publish to a particular domain"?

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)