[EditInPlace] Can not save when authenticated as anonymous #63

Open
rvanlaak opened this Issue Jan 4, 2017 · 1 comment

Projects

None yet

2 participants

@rvanlaak
rvanlaak commented Jan 4, 2017 edited

The "editing in place" save action does not store any translations when authenticated anonymous. The problem is that the javascript actually shows the "big white save check", but refreshing the page then shows the original translations again.

I've inspected the POST to the save action, and it seems like it was trying to save translations for nl instead of en. Next to that, the POST did not contain any data according to the profiler.

After logging in, and having a UsernamePasswordToken, the save action was successful again.

@damienalexandre damienalexandre self-assigned this Jan 4, 2017
@damienalexandre
Contributor

I tried to reproduce, here are my observations:

  • the save action does work, the xliff file is updated either way: anonymous or logged-in, no differences;
  • when I refresh the page, the edited translation still appears with the old content: that's a real issue and I will try to fix that (it mean busting the cache but it's needed);
  • we use the request.locale parameter to know which was the locale you wanted to update, so even if the default locale is something else, it should work - I did not see any issues with that 😢

Thanks for the report 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment