? ? Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
6 Nov 2022

Pull Request for Issue #39137

Summary of Changes

Verify that the alias is unique before batch move

Testing Instructions

see #39137

Actual result BEFORE applying this Pull Request

categories moved even with same alias

Expected result AFTER applying this Pull Request

not moved cause of same alias

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar alikon alikon - open - 6 Nov 2022
avatar alikon alikon - change - 6 Nov 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Nov 2022
Category Administration com_categories
avatar chmst
chmst - comment - 6 Nov 2022

I have tested this item successfully on ffe8ed7


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

avatar chmst chmst - test_item - 6 Nov 2022 - Tested successfully
avatar viocassel
viocassel - comment - 6 Nov 2022

I have tested this item successfully on ffe8ed7


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

avatar viocassel viocassel - test_item - 6 Nov 2022 - Tested successfully
a67e367 6 Nov 2022 avatar alikon cs
avatar alikon alikon - change - 6 Nov 2022
Labels Added: ?
avatar ChristineWk
ChristineWk - comment - 8 Nov 2022

I have tested this item successfully on a67e367


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

avatar ChristineWk ChristineWk - test_item - 8 Nov 2022 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 8 Nov 2022

Before PR:

screen shot 2022-11-08 at 22 02 58

With Patch:

screen shot 2022-11-08 at 22 03 43


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

avatar alikon alikon - change - 8 Nov 2022
Status Pending Ready to Commit
avatar alikon alikon - alter_testresult - 9 Nov 2022 - viocassel: Tested successfully
avatar alikon
alikon - comment - 9 Nov 2022

RTC


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

avatar richard67 richard67 - change - 12 Nov 2022
Labels Added: ?
avatar richard67 richard67 - change - 12 Nov 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-11-12 16:21:53
Closed_By richard67
avatar richard67 richard67 - close - 12 Nov 2022
avatar richard67 richard67 - merge - 12 Nov 2022
avatar richard67
richard67 - comment - 12 Nov 2022

Thanks all.

avatar wilsonge
wilsonge - comment - 12 Nov 2022

Sorry I missed this. We should be careful here. Adding the check is good but as we're batch moving and may already have stored previous batch categories if we're doing multiple we need to specify which category failed in the error. We should also probably note some categories may have successfully completed batch (we can use a Boolean to detect this). Potentially we could use continue for the for loop rather than returning false so we continue onto other items and list the ones that already exist

avatar richard67
richard67 - comment - 12 Nov 2022

@wilsonge Shall we revert it?

avatar apiviuw
apiviuw - comment - 29 Jan 2023

verifikasi

Add a Comment

Login with GitHub to post a comment