NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar Arpit-24
Arpit-24
25 Mar 2019

Pull Request for Issue #23910 .

Summary of Changes

Added a replacement of " by " in javascript to prevent invalid javascript code of document.getElementById("jform_request_id_id").value from running.

Testing Instructions

Create a menu item of the Single article type
Click button "Edit" for editing selected article.
npm ci is required to compile the js file

Expected result

Modal for edit article opens

Actual result

Didn't happen earlier, happens after this commit.

Documentation Changes Required

None

Screenshot (1256)
Screenshot (1257)

Results after this commit.

avatar Arpit-24 Arpit-24 - open - 25 Mar 2019
avatar Arpit-24 Arpit-24 - change - 25 Mar 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Mar 2019
Category Administration Templates (admin) JavaScript Repository NPM Change
avatar Arpit-24 Arpit-24 - change - 25 Mar 2019
Labels Added: NPM Resource Changed ?
avatar infograf768
infograf768 - comment - 26 Mar 2019

I have tested this item successfully on 079cbe4

Good find!


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

avatar infograf768 infograf768 - test_item - 26 Mar 2019 - Tested successfully
avatar infograf768
infograf768 - comment - 31 Mar 2019

I have tested this item successfully on b869b9a


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

avatar infograf768 infograf768 - test_item - 31 Mar 2019 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Mar 2019

I have tested this item ? unsuccessfully on b869b9a

Same Behaviour with or without Patch (Patchtester used).


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 31 Mar 2019 - Tested unsuccessfully
avatar infograf768
infograf768 - comment - 31 Mar 2019

@franz-wohlkoenig
this pr needs npm ci

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Mar 2019

this pr needs npm ci

How to know this? Is this by Label "NPM Resource Changed"?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Mar 2019

I have not tested this item.


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 31 Mar 2019 - Not tested
avatar infograf768
infograf768 - comment - 31 Mar 2019

I guess so. But it is easy to know also because the file modified is a a js file in the build folder.
build/media_source/legacy/js/bootstrap-init.es5.js

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Mar 2019

But it is easy to know

this isn't true. Its easier for non-Devs to get Information in Test Instructions that a Pull Request can be tested by Patchtester or npm.

avatar infograf768
infograf768 - comment - 31 Mar 2019

Understand.
I guess we should systematically ask people proposing prs to state that npm is needed.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Mar 2019

I'm willing to add a Sentence with Link how to use npm in every opening Thread who need it.

avatar Arpit-24 Arpit-24 - change - 1 Apr 2019
The description was changed
avatar Arpit-24 Arpit-24 - edited - 1 Apr 2019
avatar Arpit-24
Arpit-24 - comment - 1 Apr 2019

Added npm ci required in the testing instructions.

avatar joomla-cms-bot joomla-cms-bot - change - 8 Apr 2019
Category Administration Templates (admin) JavaScript Repository NPM Change JavaScript Repository NPM Change
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Apr 2019
Category JavaScript Repository NPM Change JavaScript Repository
avatar Arpit-24 Arpit-24 - change - 18 Apr 2019
Labels Removed: J4 Issue
avatar joomla-cms-bot joomla-cms-bot - change - 18 Apr 2019
Category JavaScript Repository JavaScript Repository NPM Change
avatar fastslack
fastslack - comment - 4 May 2019

@jtester @test Patch applied and works as expected


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

avatar Quy Quy - change - 13 May 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 13 May 2019

RTC


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

avatar Quy
Quy - comment - 13 May 2019

RTC


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

avatar infograf768 infograf768 - change - 14 May 2019
Labels Added: ?
avatar brianteeman
brianteeman - comment - 18 May 2019

How to know this? Is this by Label "NPM Resource Changed"?

Yes that's the easiest way

avatar roland-d
roland-d - comment - 19 May 2019

FYI, since this is only a JavaScript change you can use npm run build:js. This is much faster than doing a complete cleanup with npm ci.

avatar roland-d roland-d - change - 19 May 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-05-19 06:58:15
Closed_By roland-d
avatar roland-d roland-d - close - 19 May 2019
avatar roland-d roland-d - merge - 19 May 2019

Add a Comment

Login with GitHub to post a comment