RTC bug Webservices PR-4.4-dev
avatar alikon
alikon
9 Dec 2023

Pull Request for Issue #42443 .

Summary of Changes

handle the patch of article tags

Testing Instructions

add or remove tags from an article

curl -X PATCH -H "Content-Type: application/json" /api/index.php/v1/content/articles/{article_id} -d

{
    "title": "Ttest",
    "catid": "2",
    "articletext": "My text",
    "tags": 
	{
         "0": "7",
         "1": "3",
         "2": "6"
        }
}

Actual result BEFORE applying this Pull Request

"tags" attribute stays empty or unchanged if you already have other tags IDs added to your Article.

Expected result AFTER applying this Pull Request

the tags are patched correctly

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 - 9 Dec 2023
avatar richard67
richard67 - comment - 30 Dec 2023

Due to an issue with this PR missing in the issue tracker, @DonPedro34 was not able to submit his successful test result. See the comments here #42443 (comment) and below.

I just have tested this PR with success, too, and still it's missing in the tracker, so I set RTC by using the label here.

avatar MacJoom MacJoom - change - 31 Dec 2023
Labels Added: RTC bug Webservices PR-4.4-dev
avatar Quy Quy - change - 1 Jan 2024
Status New Ready to Commit
avatar Quy
Quy - comment - 1 Jan 2024

RTC


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

avatar MacJoom MacJoom - change - 2 Jan 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-01-02 11:49:32
Closed_By MacJoom
avatar MacJoom MacJoom - close - 2 Jan 2024
avatar MacJoom MacJoom - merge - 2 Jan 2024

Add a Comment

Login with GitHub to post a comment