? Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
1 May 2021

Pull Request for Issue #33439 .

Summary of Changes

make update site location editable

Testing Instructions

go to Extensions: Update Sites
edit an item (chnage something in the location field) and save
don't worry hitting rebuild the original one is restored

Actual result BEFORE applying this Pull Request

update site location not editable

Expected result AFTER applying this Pull Request

update site location editable

Documentation Changes Required

avatar alikon alikon - open - 1 May 2021
avatar alikon alikon - change - 1 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2021
Category Administration com_installer
avatar rjharishabh rjharishabh - test_item - 1 May 2021 - Tested successfully
avatar rjharishabh
rjharishabh - comment - 1 May 2021

I have tested this item successfully on 74f69e2


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

avatar Kostelano Kostelano - test_item - 1 May 2021 - Tested successfully
avatar Kostelano
Kostelano - comment - 1 May 2021

I have tested this item successfully on 74f69e2


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

avatar alikon alikon - change - 1 May 2021
Status Pending Ready to Commit
avatar alikon
alikon - comment - 1 May 2021

RTC


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

avatar brianteeman
brianteeman - comment - 1 May 2021

I am not convinced yet that it was intended for this field to be editable


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

avatar richard67
richard67 - comment - 1 May 2021

I am not convinced yet that it was intended for this field to be editable

Me neither => Setting the RLDQ (Release Lead Decision Queue) label and pinging the guys of Glip for discussion.

avatar richard67 richard67 - comment - 1 May 2021
avatar richard67
richard67 - comment - 1 May 2021

What sense does it make to edit the location field? Won't it be overwritten with the next rebuild of update sites? Are we triggering that rebuild automatically in some cases? Or does it only happen if someone uses the button for that? In the first case, editing the field would not make much sense, would it?

avatar joomdonation
joomdonation - comment - 1 May 2021

The Location of update site is defined in the manifest file of the extension https://docs.joomla.org/Manifest_files#Update_servers and should not be editable (it will be updated when we rebuild update sites for example). If it is needed, we can change code so that if there is no data for extra query, the save buttons can be removed (since there is no change to save). And in that case, maybe change page title from Edit Update Site to View Update Site. At of right now, this PR should not be RTC.

avatar richard67 richard67 - change - 1 May 2021
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 1 May 2021

Back to pending.


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

avatar richard67 richard67 - change - 1 May 2021
Labels Added: ?
avatar alikon
alikon - comment - 2 May 2021

What sense does it make to edit the location field?

suppose you have installed extA wich follow the j update ie have an update server link in the extension manifest
now suppose the extension developer change that link for whatever reason...and provide a new one for extA
with this pr the end user can simply change that

avatar joomdonation
joomdonation - comment - 2 May 2021

@alikon If an extension changes it update server, it should not ask every user to change it manually. It should be updated automatically during upgrade process (I'm a bit surprise that it is not updated automatically by Joomla while updating the extension - mean developer will have to write some script to update).

avatar richard67
richard67 - comment - 12 May 2021

@alikon The update site location should not be editable in backend. If it really needs a manual correction by a site admin, then this site admin should have the knowledge to make this correction directly in database. So I would prefer if this PR here was closed.

avatar alikon
alikon - comment - 12 May 2021

let me disagree on this
and in the hope that site admin are skilled

avatar alikon alikon - change - 12 May 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-05-12 19:17:07
Closed_By alikon
avatar alikon alikon - close - 12 May 2021

Add a Comment

Login with GitHub to post a comment