? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
10 May 2017

Pull Request for Issue #15945 .
@infograf768

Summary of Changes

One simple and quick way to

  1. Prove it was a race condition
  2. Badly use JS to overcome race condition by loading second iframe once the first has loaded (and more importantly closed the session)

Testing Instructions

As per #15945

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.

Expected result

Both panes should load with no "You are not auth....." message shown, ever, when testing.

Note

There is probably a better (and yes, non jQuery way) to do this, but this works and its as dirty as the rest of the jQuery code knocking about in this place.

avatar PhilETaylor PhilETaylor - open - 10 May 2017
avatar PhilETaylor PhilETaylor - change - 10 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 May 2017
Category Administration com_associations JavaScript
avatar PhilETaylor PhilETaylor - change - 10 May 2017
The description was changed
avatar PhilETaylor PhilETaylor - edited - 10 May 2017
avatar PhilETaylor PhilETaylor - change - 10 May 2017
Labels Added: ?
avatar infograf768
infograf768 - comment - 11 May 2017

@PhilETaylor

Works GREAT! Can you just indent with tab in the js and I can test it OK

avatar infograf768 infograf768 - change - 11 May 2017
The description was changed
avatar infograf768 infograf768 - edited - 11 May 2017
avatar infograf768 infograf768 - change - 11 May 2017
The description was changed
avatar infograf768 infograf768 - edited - 11 May 2017
avatar AlexRed
AlexRed - comment - 11 May 2017

I have tested this item successfully on 946f41f

Patch ok for me.
Test on Firefox


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

avatar AlexRed AlexRed - test_item - 11 May 2017 - Tested successfully
avatar PhilETaylor
PhilETaylor - comment - 11 May 2017

@infograf768 Done.

avatar infograf768 infograf768 - alter_testresult - 11 May 2017 - AlexRed: Tested successfully
avatar infograf768
infograf768 - comment - 11 May 2017

I have tested this item successfully on a610d65


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

avatar infograf768 infograf768 - test_item - 11 May 2017 - Tested successfully
avatar infograf768 infograf768 - change - 11 May 2017
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 11 May 2017

RTC. Thanks!

@rdeutz

One more that can go in. :)


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

avatar PhilETaylor
PhilETaylor - comment - 11 May 2017

I want to get the Tab State JS into Joomla 3.7.1 as well, any idea why most RTC PR are set for 3.7.2 and not 3.7.1 ?

avatar brianteeman
brianteeman - comment - 11 May 2017

apparently the aim is for 3.7.1 to be a minimal release just addressing bugs introduced in 3.7.0 (so i heard)

avatar PhilETaylor
PhilETaylor - comment - 11 May 2017

Well thats crazy... just means users have 2 updates to do, and have to wait longer for fixes... The important Joomla 3.7.0 bugs have not even been fixed yet, while there are a LOT of bug fixes RTC with 3.7.2 milestone attached now... /facepalm

avatar rdeutz
rdeutz - comment - 11 May 2017

Well thats crazy

No it is not, we need to stabilise the release and not introduce new bugs because of the small timeframe we have for testing. I have also set almost anything what needs a language file change to 3.7.2 because we are not going to a language freeze and translation teams don't have the time to make new language files.

avatar rdeutz rdeutz - change - 11 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-11 10:02:31
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 11 May 2017
avatar rdeutz rdeutz - merge - 11 May 2017
avatar infograf768
infograf768 - comment - 22 May 2017

See #16178

Add a Comment

Login with GitHub to post a comment