No Code Attached Yet Webservices
avatar artur-stepien
artur-stepien
17 Feb 2025

Steps to reproduce the issue

  • Set custom_reply parameter to true in com_contact
  • Try to send a message using API

Expected result

  • No exception

Actual result

  • Exception thrown

System information (as much as possible)

At least from 5.2 but I assume that's older issue.

Additional comments

When custom_reply is set, no message is sent so $sent is still at false.

So this check will result in exception even though the message was processed by a plugin without any issue:

avatar artur-stepien artur-stepien - open - 17 Feb 2025
avatar joomla-cms-bot joomla-cms-bot - change - 17 Feb 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Feb 2025
avatar alikon alikon - change - 3 Mar 2025
Labels Added: Webservices
avatar alikon alikon - labeled - 3 Mar 2025
avatar Amaan-ali03
Amaan-ali03 - comment - 15 Mar 2025

hey I've been working on this and made the changes but stuck with the tests ... how to run the tests so that I can know that the changes I made are correct


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44927.
avatar alikon
alikon - comment - 15 Mar 2025

do a pr and mark it as a draft pr so we can have a common ground for give more feedback

avatar alikon alikon - change - 16 Mar 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-03-16 07:26:52
Closed_By alikon
avatar alikon alikon - close - 16 Mar 2025
avatar alikon
alikon - comment - 16 Mar 2025

closing as we have a pr #45136 to test

Add a Comment

Login with GitHub to post a comment