Conflicting Files ? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
24 Jan 2019

Currently in the template file manager, the URL argument file is always present, even when no file is actually edited. This isn't necessary and is a bit confusing in the code.

Summary of Changes

This PR removes all instances where the argument isn't necessary and adjusts the checks.

There will be a small difference in behavior: Currently you can execute non-edit-related actions (eg create override or delete a folder) and after the redirect the previously opened file will still be open. After this patch it will be closed.
Keep in mind that even currently, all changes made in that file since the last save would be lost if you run such an action. So it gives a wrong impression to always reopen it.
Imho, the edit mode should disable all other tabs and non-edit buttons. To prevent the data loss. But that would be a task for another PR.

I also removed the hidden compressed_formats parameter and related checks. Since it was a hidden parameter with only zip as value, it basically was a hardcoded to 'zip'. I instead just really hardcoded it into the code.

Testing Instructions

Play around with the template file manager and see if something is broken.
Especially also try the various file manipulations (edit, create, delete, copy, resize, crop, ...)

Expected result

Works as before

Actual result

No difference

Documentation Changes Required

None

avatar Bakual Bakual - open - 24 Jan 2019
avatar Bakual Bakual - change - 24 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jan 2019
Category Administration com_templates SQL Installation Postgresql
avatar Bakual Bakual - change - 24 Jan 2019
The description was changed
avatar Bakual Bakual - edited - 24 Jan 2019
avatar brianteeman
brianteeman - comment - 16 Jul 2019

Can you look at resolving the conflicts so that this can be tested please.

avatar Bakual
Bakual - comment - 16 Jul 2019

Conflicts solved

avatar uthorat uthorat - test_item - 19 Oct 2019 - Tested successfully
avatar uthorat
uthorat - comment - 19 Oct 2019

I have tested this item successfully on 93fd2a1


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

avatar anibalsanchez anibalsanchez - test_item - 15 Nov 2019 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 15 Nov 2019

I have tested this item successfully on 93fd2a1

From #JMAD19 PBF, Test OK


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

avatar alikon
alikon - comment - 15 Nov 2019

@Bakual conflict once again, please

avatar roland-d
roland-d - comment - 1 Aug 2020

@Bakual Any interest in picking this up and fixing the conflicts?

avatar Bakual
Bakual - comment - 2 Aug 2020

Nah, I'm closing this as I would have to do it fresh again. It's not that important :)

avatar Bakual Bakual - close - 2 Aug 2020
avatar Bakual Bakual - change - 2 Aug 2020
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2020-08-02 11:24:52
Closed_By Bakual
Labels Added: Conflicting Files

Add a Comment

Login with GitHub to post a comment