? NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
11 Oct 2022

Pull Request for Issue # .

Summary of Changes

Provide a reasonable fallback for the client side persisted state of the current folder

Testing Instructions

  • Open Media manager
  • navigate to images/sampledata/cassiopeia
  • Open the browser dev tools
  • Open to the tab Application (or Storage for Safari)

Screenshot 2022-10-11 at 17 03 25

  • Edit the session storage from selectedDirectory: "local-images:/sampledata/cassiopeia" to selectedDirectory: "local-none:/sampledata/cassiopeia"

Screenshot 2022-10-11 at 17 03 52

-Reload the page (F5 or clicking the refresh button of the browser)

Actual result BEFORE applying this Pull Request

Broken

Expected result AFTER applying this Pull Request

Fallback to the root of the drive or fallback to the first available drive

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar dgrammatiko dgrammatiko - open - 11 Oct 2022
avatar dgrammatiko dgrammatiko - change - 11 Oct 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2022
Category JavaScript Administration com_media NPM Change
413aeb8 11 Oct 2022 avatar dgrammatiko cs
avatar dgrammatiko dgrammatiko - change - 11 Oct 2022
Labels Added: NPM Resource Changed ?
9eb2ea2 11 Oct 2022 avatar dgrammatiko nope
932a739 11 Oct 2022 avatar dgrammatiko cs
avatar laoneo
laoneo - comment - 22 Oct 2022

I have tested this item successfully on 9a05ac5


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

avatar laoneo laoneo - test_item - 22 Oct 2022 - Tested successfully
avatar viocassel
viocassel - comment - 6 Nov 2022

I have tested this item successfully on 9a05ac5


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

avatar viocassel viocassel - test_item - 6 Nov 2022 - Tested successfully
avatar alikon
alikon - comment - 6 Nov 2022

RTC


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

avatar Quy Quy - alter_testresult - 21 Nov 2022 - laoneo: Tested successfully
avatar Quy Quy - alter_testresult - 21 Nov 2022 - viocassel: Tested successfully
avatar Quy Quy - change - 21 Nov 2022
Status Pending Ready to Commit
avatar Quy
Quy - comment - 21 Nov 2022

RTC


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

avatar laoneo laoneo - change - 22 Nov 2022
Labels Added: ?
avatar laoneo
laoneo - comment - 23 Nov 2022

I did now restart drone two times and both times it failed on the same test showsFilesAndFoldersOfASubdirectoryWhenOpenedUsingDeepLink. @dgrammatiko can you have a look if this pr breaks the test?

avatar dgrammatiko
dgrammatiko - comment - 23 Nov 2022

@laoneo the test is probably wrong

avatar laoneo
laoneo - comment - 24 Nov 2022

I don't think so. Can you please check why the test is failing? I would like to get this one merged.

avatar dgrammatiko
dgrammatiko - comment - 24 Nov 2022

Can you please check why the test is failing

Could you send me the error log of the the CI?

avatar laoneo
laoneo - comment - 24 Nov 2022
avatar dgrammatiko
dgrammatiko - comment - 24 Nov 2022

@laoneo turns out the computer was right and I was wrong. The code should now work as expected.

avatar laoneo
laoneo - comment - 24 Nov 2022

Rarely this happens in Joomla land... ?

avatar ceford
ceford - comment - 25 Nov 2022

I can't get the first part of the test to work. When I change local-images to local-none and reload, the page reloads normally and the session storage is back to local-images. This with Firefox and Chrome on Mac. What have I misunderstood?

avatar laoneo laoneo - test_item - 25 Nov 2022 - Tested successfully
avatar laoneo
laoneo - comment - 25 Nov 2022

I have tested this item successfully on 20de282


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

avatar laoneo
laoneo - comment - 25 Nov 2022

@ceford this is how it should be. If you do that on a joomla installation without the patch, then it breaks.


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

avatar fancyFranci
fancyFranci - comment - 29 Nov 2022

@viocassel Could you please test again? There where some changes in the script. Would be great to have it in the coming release.

avatar viocassel viocassel - test_item - 29 Nov 2022 - Tested successfully
avatar viocassel
viocassel - comment - 29 Nov 2022

I have tested this item successfully on 445bde3

?


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

avatar fancyFranci fancyFranci - change - 1 Dec 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-12-01 21:51:39
Closed_By fancyFranci
avatar fancyFranci fancyFranci - close - 1 Dec 2022
avatar fancyFranci fancyFranci - merge - 1 Dec 2022
avatar fancyFranci
fancyFranci - comment - 1 Dec 2022

Thank you! Great that you improved the media manager :)

Add a Comment

Login with GitHub to post a comment