Skip to content

[5.3] GET content/articles render the placeholder only #45357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 5.3-dev
Choose a base branch
from

Conversation

alikon
Copy link
Contributor

@alikon alikon commented Apr 20, 2025

Pull Request for Issue #45355 .

Summary of Changes

render the placeholder only

Testing Instructions

create a custom HTML module
create an article and embed it with something like {loadmoduleid 111}
do a GET via postman /api/index.php/v1/content/articles

Actual result BEFORE applying this Pull Request

error code 500

Expected result AFTER applying this Pull Request

no more error code

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

@alikon alikon changed the title render the placeholder only [5.3] GET content/articles render the placeholder only Apr 21, 2025
@alikon alikon marked this pull request as ready for review April 21, 2025 08:12
@QuyTon
Copy link
Contributor

QuyTon commented May 5, 2025

No error code 500 for me.

Before PR:
"text": "<p>Wrapper Component</p>\r\n<p></p>\r\n<p></p>\r\n<p></p> "

After PR;
"text": "<p>Wrapper Component</p>\r\n<p>{loadmodule mod_login Login 2}</p>\r\n<p>{loadmoduleid 134}</p>\r\n<p>{loadposition test}</p> "

Is this the expected result?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants