User tests: Successful: Unsuccessful:
This PR fixes the creation new menuitems if created via the webservices API. The bug fixed prevented API calls from setting component-specific parameters, as the component parameters were not joined in the form preprocessing.
{
"access": "1",
"alias": "",
"browserNav": "0",
"component_id": "19",
"home": "0",
"language": "*",
"link": "index.php?option=com_content&view=featured",
"menutype": "mainmenu",
"note": "",
"params": {
"cancel_redirect_menuitem": "",
"catid": "",
"custom_cancel_redirect": "0",
"enable_category": "0",
"menu-anchor_css": "",
"menu-anchor_title": "",
"menu-meta_description": "",
"menu-meta_keywords": "",
"menu_image": "",
"menu_image_css": "",
"menu_show": "1",
"menu_text": "1",
"page_heading": "",
"page_title": "",
"pageclass_sfx": "",
"redirect_menuitem": "",
"robots": "",
"show_page_heading": "",
"num_columns": 5
},
"parent_id": "1",
"publish_down": "",
"publish_up": "",
"published": "1",
"template_style_id": "0",
"title": "MyPostTest",
"toggle_modules_assigned": "1",
"toggle_modules_published": "1",
"type": "component"
}
Please select:
Documentation link for docs.joomla.org:
[ x] No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
[ x] No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_menus |
Labels |
Added:
bug
PR-4.4-dev
|
I have tested this item ✅ successfully on 84ac7f8
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
Webservices
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-09-25 19:18:15 |
Closed_By | ⇒ | MacJoom |
Thank you!
I have tested this item ✅ successfully on 84ac7f8
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44119.