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

Content page PathNotFound exception returned by server #130

Closed
dantleech opened this issue Jul 12, 2014 · 1 comment
Closed

Content page PathNotFound exception returned by server #130

dantleech opened this issue Jul 12, 2014 · 1 comment

Comments

@dantleech
Copy link
Contributor

After initially installing and initialising my webspace I go to the content page and - nothing happens.

A 500 is returned from the nodes endpoint because it is requesting a non-existant path.

  • My admin locale is en
  • The path it cannot find is /cmf/foobar_lo/routes/en
  • Because my webspace is only configured for fr
  • If I change my locale to de then it tries to get /cmf/foobar_lo/routes/de
  • I only have en and de avialble as admin locales.

However, for some unknown reason, now it is working and pulled in /cms/foobar_lo/routes/fr.

So an issue: The default locale for the content page should not use locales which do not exist in the webspace.

And a question: Where do I define the admin locales? e.g. there is en and de but I cannot find where this is configured/hard-coded.

@danrot
Copy link
Contributor

danrot commented Jul 12, 2014

The problem is that we didn't built the functionality to get all the available locales yet.

And the admin locales are not defined anywhere, it just tries to load the translation file with the given locale from app/Resources/public/js/translations, and will currently fail, if the file does not exist.

wachterjohannes added a commit that referenced this issue Aug 14, 2014
wachterjohannes added a commit that referenced this issue Aug 14, 2014
[FEATURE] [WCM] Added location CSS to AdminBundle
wachterjohannes added a commit that referenced this issue Oct 31, 2014
wachterjohannes added a commit that referenced this issue Oct 31, 2014
[FEATURE] [WCM] Added location CSS to AdminBundle
wachterjohannes added a commit to wachterjohannes/sulu that referenced this issue May 8, 2017
alexander-schranz added a commit to alexander-schranz/sulu that referenced this issue Feb 22, 2024
* added validation for composer.json

* use newest alpha version
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

3 participants