•  
      request #13553 Fatal error when trying to change parent category while set as "project flag"
    Infos
    #13553
    Thomas Gorka (tgorka)
    2019-06-28 16:04
    2019-06-26 15:50
    13761
    Details
    Fatal error when trying to change parent category while set as "project flag"

    When I have a category defined as [project flag], I am able to select a parent category, which in this particular case is not allowed.
    I get a fatal error when I submit the form:

    ( ! ) Exception: Only top categories can be marked as project flag. in /usr/share/tuleap/src/common/trove/TroveCatListController.php on line 297
    Call Stack
    # Time Memory Function Location
    1 0.0000 402656 {main}( ) .../index.php:0
    2 0.0110 2606720 Tuleap\Request\FrontRouter->route( ) .../index.php:46
    3 0.0114 2616600 Tuleap\Request\FrontRouter->routeHandler( ) .../FrontRouter.php:89
    4 0.0214 3562680 Tuleap\Trove\TroveCatListController->process( ) .../FrontRouter.php:232
    5 0.0216 3563816 Tuleap\Trove\TroveCatListController->update( ) .../TroveCatListController.php:76
    6 0.0216 3563816 Tuleap\Trove\TroveCatListController->formatTroveCategoriesFromRequest( ) .../TroveCatListController.php:128
    7 0.0216 3564784 Tuleap\Trove\TroveCatListController->isProjectFlag( ) .../TroveCatListController.php:217
    Empty
    Project admin
    Empty
    Empty
    Empty
    Stage
    Thomas Gorka (tgorka)
    Under review
    Empty
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Follow-ups

    • User avatar
      • Original Submission
    • User avatar
      • Status changed from Under implementation to Under review
    • User avatar
      gerrit #15310 is under review