Skip to content

[5.0] - Fix API menus/site/items#42782

Merged
bembelimen merged 3 commits intojoomla:5.0-devfrom
LadySolveig:5.0.2/fix-api-sitemenuitems
Feb 11, 2024
Merged

[5.0] - Fix API menus/site/items#42782
bembelimen merged 3 commits intojoomla:5.0-devfrom
LadySolveig:5.0.2/fix-api-sitemenuitems

Conversation

@LadySolveig
Copy link
Contributor

@LadySolveig LadySolveig commented Feb 11, 2024

Summary of Changes

Fix for creating site menu item via API - 500: Internal Server Error

Testing Instructions

  • Generate a token in your super user profile
  • API Call (POST) for: api/index.php/v1/menus/site/items
    Body:
    {"title":"automated test site menu item","menutype":"main-menu","access":"1","parent_id":"1","publish_down":"","publish_up":"","published":"1","template_style_id":"0","toggle_modules_assigned":"1","toggle_modules_published":"1","type":"component","alias":"","link":"","aliasoption":"1"}

Actual result BEFORE applying this Pull Request

500: Internal Server Error

Expected result AFTER applying this Pull Request

Works

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

@bembelimen
Copy link
Contributor

I have tested this item ✅ successfully on 0b7704b


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

@bembelimen bembelimen merged commit ff68e27 into joomla:5.0-dev Feb 11, 2024
@bembelimen bembelimen added this to the Joomla! 5.0.3 milestone Feb 11, 2024
@bembelimen
Copy link
Contributor

Thx

@LadySolveig LadySolveig deleted the 5.0.2/fix-api-sitemenuitems branch October 30, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments