? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
18 Aug 2021

Pull Request for Issue #35218

Summary of Changes

When in dev mode (4.0-dev) the complete installation buttons would delete the installation folder by mistake because the data-development attribute on the button did not have a default value and JS 'development' in item.dataset would return false

It seems that JS attributes need a value for them to appear "in".

Testing Instructions

install Joomla - on this final page click the complete buttons (either) and check if /installation gets deleted

Screenshot 2021-08-18 at 15 23 30

Actual result BEFORE applying this Pull Request

/installation is deleted even when in dev mode

Expected result AFTER applying this Pull Request

/installation is not deleted even when in dev mode

Documentation Changes Required

avatar PhilETaylor PhilETaylor - open - 18 Aug 2021
avatar PhilETaylor PhilETaylor - change - 18 Aug 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2021
Category Installation
avatar PhilETaylor PhilETaylor - change - 18 Aug 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 18 Aug 2021
avatar PhilETaylor PhilETaylor - change - 18 Aug 2021
Title
[4] Correctly set data-attribute with a value so that JS "in" an array works
[4] Dont delete /installation in development mode
avatar PhilETaylor PhilETaylor - edited - 18 Aug 2021
avatar brianteeman
brianteeman - comment - 18 Aug 2021

This step needs to be added to the release build scripts

avatar PhilETaylor
PhilETaylor - comment - 18 Aug 2021

This step needs to be added to the release build scripts

What exactly do you mean? This is already part of the install - all I did was fix a bug

avatar Quy Quy - test_item - 19 Aug 2021 - Tested successfully
avatar Quy
Quy - comment - 19 Aug 2021

I have tested this item successfully on 71f10a6


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

avatar PhilETaylor PhilETaylor - change - 22 Aug 2021
Labels Added: ?
avatar joomdonation joomdonation - test_item - 22 Aug 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 22 Aug 2021

I have tested this item successfully on 756d377


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

avatar joomdonation joomdonation - change - 22 Aug 2021
Status Pending Ready to Commit
avatar joomdonation
joomdonation - comment - 22 Aug 2021

RTC. This is just a small change and carefully tested by myself.


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

avatar richard67 richard67 - test_item - 22 Aug 2021 - Tested successfully
avatar richard67
richard67 - comment - 22 Aug 2021

I have tested this item successfully on 756d377


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

avatar wilsonge wilsonge - change - 23 Aug 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-08-23 10:09:48
Closed_By wilsonge
Labels Added: ? ?
Removed: ?
avatar wilsonge wilsonge - close - 23 Aug 2021
avatar wilsonge wilsonge - merge - 23 Aug 2021
avatar wilsonge
wilsonge - comment - 23 Aug 2021

Thanks!

Add a Comment

Login with GitHub to post a comment