? ? Pending

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
29 May 2019

Summary of Changes

Closing the batch modal in Tags causes a JavaScript error due to trying to access a non-existing element. Looks like a case of copy/paste because there is of course no Tag selector in the batch modal on the Tags page.

Testing Instructions

  1. Open the developer Console with F12
  2. Open the console tab in the developer console

image

  1. Go to Components -> Tags
  2. Check 1 or more tags (if you have none, create one)
  3. Click on the Batch button
  4. Click on the Cancel button
  5. Notice in the console a JavaScript error

image

  1. Apply patch
  2. Reload page
  3. Click on the Batch button
  4. Click on the Cancel button
  5. Notice in the console there is no JavaScript error

Expected result

No JavaScript error

Actual result

A JavaScript error

Documentation Changes Required

None

avatar roland-d roland-d - open - 29 May 2019
avatar roland-d roland-d - change - 29 May 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 May 2019
Category com_tags Administration
avatar roland-d roland-d - change - 29 May 2019
The description was changed
avatar roland-d roland-d - edited - 29 May 2019
avatar brianteeman
brianteeman - comment - 29 May 2019

not saying this is wrong as i havent tested it but it is the same in j3

avatar roland-d
roland-d - comment - 29 May 2019

@brianteeman Correct, same issue exists there. The JS is trying to target the Tags option in the modal but it doesn't exist in the Tags view for obvious reasons. You can see it in the modal at Contacts for example:
image

That is the element it tries to access.

avatar Quy
Quy - comment - 29 May 2019

I have tested this item successfully on 3a4cda0


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

avatar Quy
Quy - comment - 29 May 2019

I have tested this item successfully on 3a4cda0


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

avatar Quy Quy - test_item - 29 May 2019 - Tested successfully
avatar richard67
richard67 - comment - 30 May 2019

I have tested this item successfully on 3a4cda0


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

avatar richard67 richard67 - test_item - 30 May 2019 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2019
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 May 2019

Status "Ready To Commit".

avatar wilsonge wilsonge - change - 30 May 2019
Labels Added: ?
avatar wilsonge wilsonge - change - 30 May 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-05-30 15:36:54
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 30 May 2019
avatar wilsonge wilsonge - merge - 30 May 2019
avatar wilsonge
wilsonge - comment - 30 May 2019

Thanks!

Add a Comment

Login with GitHub to post a comment