Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      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
    14667
    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
    Project admin
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gorka (tgorka)
    Under review
    Empty
    Attachments
    Empty
    References
    Referenced by request #13553

    Follow-ups

    User avatar
    Thomas Gorka (tgorka)2019-06-28 16:04
    • 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