•  
      request #24179 Display of multiple select box in the report of a legacy tracker report can crash
    Infos
    #24179
    Thomas Gerbet (tgerbet)
    2021-11-25 13:46
    2021-11-25 11:00
    25725
    Details
    Display of multiple select box in the report of a legacy tracker report can crash

    Trace:

    PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /usr/share/tuleap/src/www/include/html.php:451
    Stack trace:
    #0 /usr/share/tuleap/src/www/include/html.php(417): html_build_multiple_select_box_from_array()
    #1 /usr/share/tuleap/src/common/tracker/HTML/ArtifactFieldHtml.class.php(148): html_build_multiple_select_box()
    #2 /usr/share/tuleap/src/common/tracker/HTML/ArtifactFieldHtml.class.php(617): ArtifactFieldHtml->multipleFieldBox()
    #3 /usr/share/tuleap/src/common/tracker/HTML/ArtifactReportHtml.class.php(268): ArtifactFieldHtml->display()
    #4 /usr/share/tuleap/src/common/tracker/HTML/ArtifactReportHtml.class.php(708): ArtifactReportHtml->displayQueryFields()
    #5 /usr/share/tuleap/src/www/tracker/browse.php(392): ArtifactReportHtml->displayReport()
    #6 /usr/share/tuleap/src/www/tracker/index.php(891): require('...')
    #7 {main}
      thrown in /usr/share/tuleap/src/www/include/html.php on line 451
    
    Other
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2021-11-25
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    integrated to Tuleap 13.2.99.85


    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2021-11-25