Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The sequence contains no elements #13

Open
bjarnef opened this issue Aug 10, 2017 · 1 comment
Open

The sequence contains no elements #13

bjarnef opened this issue Aug 10, 2017 · 1 comment

Comments

@bjarnef
Copy link

bjarnef commented Aug 10, 2017

I have installed latest version 1.8.0 via NuGet and then for Site 1 and Site 2 in a multi-site solution selected a 404-page (child node of the homepage nodes).

The project is running on Umbraco Cloud using v7.5.14

However when I access a page that doesn't exist e.g. mydomain.dk/test it return a ysod
The sequence contains no elements.

image

Without the package and just configurating umbracoSettings.config it does return the 404-page, but in this case both sites are using same culture, so I don't think Umbraco handle this out-of-the-box.

I have another Umbraco Cloud project also on v7.5.14, where I can configurate the 404-pages from umbracoSettings.config because the three sites are using da-DK, en-US and de-DE.

@bjarnef
Copy link
Author

bjarnef commented Aug 10, 2017

I noticed it stores id's in the config:

<?xml version="1.0" encoding="utf-8"?>
<notFoundPages>
  <notFoundPage parent="1142">1150</notFoundPage>
  <notFoundPage parent="1143">1208</notFoundPage>
</notFoundPages>

Wouldn't it be better if it stored guids instead, when restoring or deploying content from/to another environment since the ids most likely not is the same, but the guids are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant