? ? Pending

User tests: Successful: Unsuccessful:

avatar bembelimen
bembelimen
28 Dec 2020

Pull Request for Issue #31127 .

Summary of Changes

Copy also the tags when items are copied.

Testing Instructions

See: #31127

Actual result BEFORE applying this Pull Request

Tags are not copied

Expected result AFTER applying this Pull Request

Tags are copied

avatar bembelimen bembelimen - open - 28 Dec 2020
avatar bembelimen bembelimen - change - 28 Dec 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Dec 2020
Category Libraries
avatar toivo
toivo - comment - 28 Dec 2020

I have tested this item successfully on 18a8f4e

Tested successfully in Beta6-dev of 28 December.


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

avatar toivo toivo - test_item - 28 Dec 2020 - Tested successfully
avatar gostn
gostn - comment - 28 Dec 2020

I have tested this item successfully on 18a8f4e


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

avatar gostn gostn - test_item - 28 Dec 2020 - Tested successfully
avatar alikon alikon - change - 28 Dec 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 28 Dec 2020

RTC


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

avatar gostn
gostn - comment - 28 Dec 2020

add PR-4.0-dev label again.

avatar infograf768
infograf768 - comment - 28 Dec 2020

@SharkyKZ
Please explain your comment. Thanks.

avatar bembelimen bembelimen - change - 28 Dec 2020
Labels Added: ? ?
avatar infograf768
infograf768 - comment - 28 Dec 2020

This only works when copying the article.
If it is a simple change (category, language), then we lose the Tag.

avatar bembelimen
bembelimen - comment - 28 Dec 2020

We lose everytime the tags when $table->store() is called. That is a fundamental problem, how the taggable plugin is implemented. So we have to touch everywhere, where table is stored in the Joomla! environment. (or rewrite the taggable behaviour). So this PR only solves the issue itself.

avatar richard67
richard67 - comment - 28 Dec 2020

Last change after tests and RTC was only code style, so the tests and the RTC are still valid. Restoring the test result in the tracker in a minute.

avatar richard67 richard67 - alter_testresult - 28 Dec 2020 - gostn: Tested successfully
avatar richard67 richard67 - alter_testresult - 28 Dec 2020 - toivo: Tested successfully
avatar wilsonge
wilsonge - comment - 29 Dec 2020

Holding on merging this until I understand whether this behaviour is needed if the underlying issue in the taggable plugin is fixed. I suspect this is independent but want to do a bit of digging

avatar wilsonge
wilsonge - comment - 30 Dec 2020

Done a larger rework here #31805 that should give us better functionality across all of batch

avatar wilsonge wilsonge - close - 30 Dec 2020
avatar wilsonge wilsonge - change - 30 Dec 2020
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2020-12-30 01:17:46
Closed_By wilsonge

Add a Comment

Login with GitHub to post a comment