? ? Pending

User tests: Successful: Unsuccessful:

avatar YatharthVyas
YatharthVyas
23 May 2021

Pull Request for Issue #19346
Thanks @Quy #34094 (comment)

Summary of Changes

Redo of PR #34094 for J3

Testing Instructions

  1. Visit Backend -> Users -> User Groups
  2. Add 4 new groups where 2 groups are the parent and 2 are their child:
- A
:  - A1
- B
:  - B1
  1. Select all of these items as shown in the gif below. Order is Important: Parent (A) -> It's Child (A1) -> Parent (B) -> It's Child (B1)
  2. Proceed to Delete them

Before the PR: only the first Parent-Child pair would be deleted and the 2nd Parent-Child was skipped. This happened because the A1 was deleted with A (it's parent) and the loop returned false when it iterated over A1 as it was no longer present in the table.
After the PR: all selected groups will be deleted.

Actual result BEFORE applying this Pull Request

groupsj3_before

Expected result AFTER applying this Pull Request

groupsj3_after

Documentation Changes Required

None

avatar YatharthVyas YatharthVyas - open - 23 May 2021
avatar YatharthVyas YatharthVyas - change - 23 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 May 2021
Category Administration com_finder com_users
avatar sandramay0905
sandramay0905 - comment - 24 May 2021

Wouldn't it be better to have a pull request for each issue so user groups can get a test stand alone?

avatar YatharthVyas
YatharthVyas - comment - 24 May 2021

Wouldn't it be better to have a pull request for each issue so user groups can get a test stand alone?

Sure, Thank you for the suggestion. I will open a separate PR for Content Maps.

avatar YatharthVyas YatharthVyas - change - 24 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2021
Category Administration com_finder com_users Administration com_users
avatar YatharthVyas YatharthVyas - change - 24 May 2021
Title
[3] Fix Delete Batch For User Groups and Content Maps
[3] Fix Delete Batch For User Groups
avatar YatharthVyas YatharthVyas - edited - 24 May 2021
avatar YatharthVyas YatharthVyas - change - 24 May 2021
The description was changed
avatar YatharthVyas YatharthVyas - edited - 24 May 2021
avatar sandramay0905 sandramay0905 - test_item - 24 May 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 24 May 2021

I have tested this item successfully on 882d082


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

avatar Ankur-Khandelwal Ankur-Khandelwal - test_item - 24 May 2021 - Tested successfully
avatar Ankur-Khandelwal
Ankur-Khandelwal - comment - 24 May 2021

I have tested this item successfully on 882d082


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

avatar Ankur-Khandelwal
Ankur-Khandelwal - comment - 24 May 2021

I have tested this item successfully on 882d082


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

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

RTC


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

avatar HLeithner HLeithner - change - 29 Jun 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-06-29 20:13:57
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 29 Jun 2021
avatar HLeithner HLeithner - merge - 29 Jun 2021
avatar HLeithner
HLeithner - comment - 29 Jun 2021

Thanks!

avatar YatharthVyas
YatharthVyas - comment - 30 Jun 2021

Thank you

Add a Comment

Login with GitHub to post a comment