•  
      request #10088 Openlist field binded to a ugroup generates a fatal error when notification must be sent
    Infos
    #10088
    Thomas Gerbet (tgerbet)
    2017-03-27 11:43
    2017-03-22 17:36
    10365
    Details
    Openlist field binded to a ugroup generates a fatal error when notification must be sent
    Generated trace:
    Fatal error: Call to undefined method Tracker_FormElement_Field_List_OpenValue::getMembersName() in /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Ugroups.class.php on line 626
    Call Stack
    # Time Memory Function Location
    1 0.0000 682848 {main}( ) ../index.php:0
    2 0.0257 5960864 TrackerManager->process( ) ../index.php:33
    3 0.0258 5961120 TrackerManager->processSubElement( ) ../TrackerManager.class.php:155
    4 0.0368 9102304 Tracker_Artifact->process( ) ../TrackerManager.class.php:99
    5 0.0371 9137992 Tracker_Action_UpdateArtifact->process( ) ../Tracker_Artifact.class.php:735
    6 0.0412 11283768 Tracker_Artifact->createNewChangeset( ) ../UpdateArtifact.class.php:61
    7 0.0429 11738192 Tracker_Artifact_Changeset_NewChangesetCreatorBase->create( ) ../Tracker_Artifact.class.php:1114
    8 0.1136 13728064 Tracker_Artifact_Changeset->notify( ) ../NewChangesetCreatorBase.class.php:156
    9 0.1141 13748360 Tracker_Artifact_Changeset->getRecipients( ) ../Tracker_Artifact_Changeset.class.php:733
    10 0.1168 13763504 Tracker_FormElement_Field_List->getRecipients( ) ../Tracker_Artifact_Changeset.class.php:1123
    11 0.1168 13763504 Tracker_FormElement_Field_List_Bind_Ugroups->getRecipients( ) ../Tracker_FormElement_Field_List.class.php:1285

    Reproduction steps::
    1. Add an openlist field binded to user groups and select "Send notifications to selected people"
    2. Update an artifact with this field and add something that is not a user group to this list
    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-03-27
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2017-03-23 15:47
    A patch is under review: gerrit #7994.

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from Under implementation to Under review
    User avatar
    Thomas Gerbet (tgerbet)2017-03-23 09:17
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Reported in version set to All