?
avatar infograf768
infograf768
10 May 2017

Steps to reproduce the issue

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.

This is what we get.
youarenotassoc

After reloading the page, all is fine and the issue is never encountered again until one quits the browser and relaunches it

Any idea how to solve this?
@rdeutz @dgt41 @Fedik @alikon

avatar infograf768 infograf768 - open - 10 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 10 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 May 2017
Category com_associations
avatar Fedik
Fedik - comment - 10 May 2017

It looks similar to #9145 , and there already was some fix #13516

avatar infograf768
infograf768 - comment - 10 May 2017

looks like this fix does not work for com_associations though.
Do we have to add JFactory::getApplication()->allowCache(false); somewhere?

avatar Fedik
Fedik - comment - 10 May 2017

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.

avatar PhilETaylor
PhilETaylor - comment - 10 May 2017

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

avatar PhilETaylor
PhilETaylor - comment - 10 May 2017

Please test #15948 (and to a much lesser degree #15947)

avatar infograf768 infograf768 - change - 11 May 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-05-11 06:07:09
Closed_By infograf768
avatar infograf768 infograf768 - close - 11 May 2017
avatar infograf768
infograf768 - comment - 11 May 2017

Closing as we have a fix. #15948


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15945.

Add a Comment

Login with GitHub to post a comment