NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016854phplist applicationPlugin APIpublic29-08-13 09:0115-10-14 17:07
PlatformOSOS Version
Product Version3.0.2 
Target Version3.0.XFixed in Version3.0.9 
Summary0016854: Explanation for plugin method sendMessageTabSave() is misleading
DescriptionIn file defaultplugin.php the documentation comment for method sendMessageTabSave() is incorrect

    ## add a tab to the "Send a Message page" for options to be set in the plugin
    # parameters:
    # messageid = ID of the message being saved (should always be > 0)
    # messagedata = associative array of all data from the db for this message
    # returns: HTML code to communicate the result to the user

In file send_core.php, the comment before calling the plugins looks to be more correct, although the method does not allow the plugin to return modified data.
The return value $resultMsg is overwritten by each plugin and then is not used elsewhere.

  ### allow plugins manipulate data or save it somewhere else

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
michiel (manager)
29-08-13 12:25

Hmm, yes, that is from before the core saves all data in the send-message page.

I'll review.
michiel (manager)
19-07-14 14:49

do you know of any plugins using this? Maybe it should just go.
michiel (manager)
15-10-14 17:07

updated a little

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker