J4 Issue ? ?
avatar astridx
astridx
2 Feb 2018

Steps to reproduce the issue

Open the in backend the component for private messages. Components | Messaging | New private message and create a message. Fill a correct user name into the field Recipient or fill in a possible id into the field Recipient.

Expected result

I can choose a user than seeing a 0 in the field recipient and when click send the message is send.

Actual result

If you insert an id or if you insert an user name an error occurs.

private messages write test administration 1
private messages write test administration 2
error 500 could not instantiate mail function

Systeminformation

I tested on a local machine on ubuntu with the current branch 4.0-dev

Additional comments

Do we really need the component messaging?

avatar astridx astridx - open - 2 Feb 2018
avatar joomla-cms-bot joomla-cms-bot - change - 2 Feb 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Feb 2018
avatar astridx astridx - change - 2 Feb 2018
The description was changed
avatar astridx astridx - edited - 2 Feb 2018
avatar astridx astridx - change - 2 Feb 2018
The description was changed
avatar astridx astridx - edited - 2 Feb 2018
avatar astridx astridx - change - 2 Feb 2018
The description was changed
avatar astridx astridx - edited - 2 Feb 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Feb 2018
Category com_messages
avatar Anu1601CS
Anu1601CS - comment - 4 Feb 2018

@astridx Issue Confirmed.
Error 500 Could not instantiate mail function.

One question, Is recipient field takes both ID and Username ?

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Feb 2018
Status New Confirmed
avatar ReLater
ReLater - comment - 5 Feb 2018

Concerning Recipient field and 0 instead of user selection. Similiar reason as described here for Parent Item in com_menus
#18633 (comment)

Change line https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_messages/forms/message.xml#L6
to

type="UserMessages"

and you'll see the user selection.

avatar brianteeman
brianteeman - comment - 15 Feb 2018

I cannot replicate this with the current staging - can you recheck as it looks like it has been resolved elsewhere

avatar ReLater
ReLater - comment - 15 Feb 2018

@brianteeman
Did you test it with Mamp or Xampp or similiar or with a "real" Linux/LAMP environment?

See also #18633 (comment) and following discussion

avatar Anu1601CS
Anu1601CS - comment - 15 Feb 2018

@brianteeman I can replicate this issue.

OS-Linux
Xampp
PHP-7.1

avatar astridx astridx - change - 15 Feb 2018
Title
[4.0] Private Messages
[4.0] [RFC] Private Messages
avatar astridx astridx - edited - 15 Feb 2018
avatar joomla-cms-bot joomla-cms-bot - change - 15 Feb 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Feb 2018
avatar astridx
astridx - comment - 15 Feb 2018

I added the RFC label, because I wonder if we really need the component messaging in Joomla! 4 or if we can remove it?

avatar brianteeman
brianteeman - comment - 16 Feb 2018

It is essential if we want to have any sort of workflow

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar brianteeman
brianteeman - comment - 22 May 2018

Closed as the reported bug has been resolved

avatar brianteeman brianteeman - close - 22 May 2018
avatar brianteeman brianteeman - change - 22 May 2018
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2018-05-22 21:40:24
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment