Create a basic multilingual site (2 languages are enough).
Logout.
Quit browser (tested here with FF and Safari)
Relaunch browser, log in the admin and display Multingual associations.
Choose an article and language (here default Article (en-gb)
Click on the Associations label for French.
After reloading the page, all is fine and the issue is never encountered again until one quits the browser and relaunches it
Labels |
Added:
?
|
Category | ⇒ | com_associations |
looks like this fix does not work for com_associations though.
Do we have to add JFactory::getApplication()->allowCache(false);
somewhere?
I am not really understand how that fix should work
But the issue looks similar, because in the iframe we actually open the article editing form.
This is a classic race condition.
"Checking out" an article is done in the session
By loading TWO iframes, loading starting at milliseconds from each other, the session of one is overwriting the other while they are both racing to save.
You can prove this by removing the left iframe and you will see then that the right iframe loads without fail each and every time
The solution is to load each iframe - one at a time, waiting for the parent page to finish loading, then loading the left frame, and when that finishes loading load the right frame.
On first glance there are a few other "bugs" here, like the fact I can fake urls on a non-multulingual site to view content in either pane
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-11 06:07:09 |
Closed_By | ⇒ | infograf768 |
Closing as we have a fix. #15948
It looks similar to #9145 , and there already was some fix #13516