Feature No Code Attached Yet Webservices
avatar MayaSima
MayaSima
17 Jul 2023

I need to automatically process fulltext from multiple articles. I pull the article, process fulltext, and then send it back via PATCH.
I noticed that "text" field in the GET request response contains both introtext and fulltext concatenated with "\r\n \r\n" like so:

`

Intro Text.

First Paragraph of full text.

`

As a result, I do the processing, publish the result back as a "fulltext", which results in intro text being copied to the full text and being duplicated on the updated page.

Steps to reproduce the issue

GET request to {{base_url}}/{{base_path}}/content/articles/{{article_id}}
parse the returned payload and retrieve "text" attribute
process
PATCH request wit hthe updated fulltext

Expected result

"fulltext" and "introtext" should be kept as separate fields in the response from GET request to {{base_url}}/{{base_path}}/content/articles/{{article_id}} endpoint

Not sure if "text" field is needed at all

Actual result

I receive "text" field with concatenated "introtext" + "fulltext" with no <hr id="system-readmore"> separator in between in the response from the GET request to {{base_url}}/{{base_path}}/content/articles/{{article_id}} endpoint

System information (as much as possible)

Joomla version 4.3.3

Additional comments

avatar MayaSima MayaSima - open - 17 Jul 2023
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jul 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Jul 2023
avatar chmst chmst - change - 17 Jul 2023
Labels Added: Feature
avatar chmst chmst - labeled - 17 Jul 2023
avatar alikon alikon - change - 2 Dec 2024
Labels Added: Webservices
avatar alikon alikon - labeled - 2 Dec 2024
avatar alikon alikon - change - 2 Dec 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-12-02 07:55:21
Closed_By alikon
avatar alikon alikon - close - 2 Dec 2024
avatar alikon
alikon - comment - 2 Dec 2024

please test #44566

avatar alikon alikon - change - 24 Mar 2025
Status Closed New
Closed_Date 2024-12-02 07:55:21
Closed_By alikon
avatar alikon alikon - reopen - 24 Mar 2025
avatar alikon
alikon - comment - 24 Mar 2025

as pr #44566 has been closed i'm repoening this issue

Add a Comment

Login with GitHub to post a comment