When a user chooses an action in the select box on messages list, a javascript popup appears with the warning :

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /plateformedrupal/system/ajax
StatusText: OK
ResponseText: Notice: Undefined index: op in privatemsg_list_submit() (line 236 of /home/yann/projets/dev/plateformedrupal/html/sites/all/modules/privatemsg/privatemsg.pages.inc). =>

Files: 
CommentFileSizeAuthor
#4 undefined_op_2.x-1554832-4.patch1013 bytesmikran
PASSED: [[SimpleTest]]: [MySQL] 3,715 pass(es).
[ View ]
#2 privatemsg-actionWarning-1554832-5937764.patch891 bytesyrocq
PASSED: [[SimpleTest]]: [MySQL] 3,119 pass(es).
[ View ]

Comments

Here is a patch to fix the problem. It just checks if $form_state['values']['op'] is not empty before checking it content.

StatusFileSize
new891 bytes
PASSED: [[SimpleTest]]: [MySQL] 3,119 pass(es).
[ View ]

Status:Active» Needs review

Version:7.x-1.x-dev» 7.x-2.x-dev
StatusFileSize
new1013 bytes
PASSED: [[SimpleTest]]: [MySQL] 3,715 pass(es).
[ View ]

Patch in #2 solves the problem but the bug exists in 2.x too. Here is the patch for 2.x.

Status:Needs review» Reviewed & tested by the community

Status:Reviewed & tested by the community» Fixed

Thanks, commited.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.