bug Webservices PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar MacJoom
MacJoom
22 Jun 2023

Pull Request for Issue # .
Creating (POST) and editing messages (PATCH) does not work
See https://docs.joomla.org/J4.x:Joomla_Core_APIs - Section Messages, creating and editing messages

Summary of Changes

messages.xml - add message_id to form so it can be passed as valid data
MessageModel - set the message_id key to the input
MessageModel - enable actions on sent and received messages

Testing Instructions

Actual result BEFORE applying this Pull Request

Backend: works

API: Creating and editing messages fails

Expected result AFTER applying this Pull Request

Backend: works

API: Creating and editing messages works

Link to documentations

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

avatar joomla-cms-bot joomla-cms-bot - change - 22 Jun 2023
Category Administration com_messages
avatar MacJoom MacJoom - open - 22 Jun 2023
avatar MacJoom MacJoom - change - 22 Jun 2023
Status New Pending
avatar MacJoom MacJoom - change - 25 Jun 2023
Labels Added: ? PR-4.3-dev
avatar MacJoom MacJoom - change - 25 Jun 2023
The description was changed
avatar MacJoom MacJoom - edited - 25 Jun 2023
avatar MacJoom MacJoom - change - 25 Jun 2023
The description was changed
avatar MacJoom MacJoom - edited - 25 Jun 2023
d34e56d 25 Jun 2023 avatar MacJoom cs
avatar HLeithner
HLeithner - comment - 30 Sep 2023

This pull request has been automatically rebased to 4.4-dev.

avatar alikon
alikon - comment - 8 Oct 2023

POST and PATCH messages works just noticed user_id_from was lost see MacJoom#2

avatar MacJoom MacJoom - change - 9 Oct 2023
Labels Added: bug PR-4.4-dev
Removed: PR-4.3-dev
avatar alikon alikon - test_item - 9 Oct 2023 - Tested successfully
avatar alikon
alikon - comment - 9 Oct 2023

I have tested this item ✅ successfully on 32f12ca


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

avatar MacJoom MacJoom - change - 3 Nov 2023
Labels Added: ?
Removed: ?
avatar laoneo laoneo - change - 4 Nov 2023
Labels Added: ?
Removed: ?
avatar laoneo laoneo - change - 7 Dec 2023
Labels Added: Webservices
Removed: ?
avatar HLeithner HLeithner - change - 24 Apr 2024
Title
Messages api issue - the webservices API for creating and patching messages is not working
[4.4] Messages api issue - the webservices API for creating and patching messages is not working
avatar HLeithner HLeithner - edited - 24 Apr 2024

Add a Comment

Login with GitHub to post a comment