•  
      request #8438 Fix warning when using artifact batch iterator during FTS tracker reindex without order param
    Infos
    #8438
    Ahmed HOSNI (hosniah)
    2015-10-13 10:09
    2015-09-22 17:08
    8567
    Details
    Fix warning when using artifact batch iterator during FTS tracker reindex without order param

    Sounds that Tracker_Artifact_BatchIterator::cuurent() called during the tracker reindex event is using   Tracker_ArtifactFactory::getPaginatedArtifactsByTrackerId() with 3 params instead of 4 which leads to the following warning:

    Warning: Missing argument 4 for Tracker_ArtifactFactory::getPaginatedArtifactsByTrackerId(), called in /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_BatchIterator.class.php on line 53 and defined in /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php on line 124

     

    Notice: Undefined variable: reverse_order in /usr/share/tuleap/plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php on line 126

    Trackers
    8.6
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2015-10-13
    Attachments
    Empty
    References
    Referencing request #8438

    Artifact Tracker v5

    rel #8417 8.8
    Referenced by request #8438

    Follow-ups

    User avatar
    Merged in Tuleap 8.7.99.6.

    Thanks for your contribution !

    • Status changed from Under review to Closed
    • Close date set to 2015-10-13
    User avatar
    Ahmed HOSNI (hosniah)2015-09-22 17:35
    • 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