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 #16212 Crash when trying to import steps via a CSV file
    Infos
    #16212
    Thomas Gerbet (tgerbet)
    2020-08-12 10:28
    2020-08-11 09:37
    17516
    Details
    Crash when trying to import steps via a CSV file
    If you try to import steps via a CSV file you get a crash. Import of steps should not be possible as it not possible to export them in CSV.

    Trace:
    2020/08/11 07:15:11 [error] 845#0: *896394 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Tuleap\TestManagement\Step\Definition\Field\StepDefinition::doesUserWantToRemoveAllSteps() must be of the type array, string given, called in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Step/Definition/Field/StepDefinition.php on line 255 and defined in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Step/Definition/Field/StepDefinition.php:295
    Stack trace:
    #0 /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Step/Definition/Field/StepDefinition.php(255): Tuleap\TestManagement\Step\Definition\Field\StepDefinition->doesUserWantToRemoveAllSteps('')
    #1 /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php(1138): Tuleap\TestManagement\Step\Definition\Field\StepDefinition->validate(Object(Tracker_Artifact), '')
    #2 /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php(1122): Tracker_FormElement_Fi" while reading response header from upstream, client: 163.172.40.194, server: try.tuleap-enterprise.com, request: "POST /plugins/tracker/?tracker=25564&func=admin-csvimport HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "try.tuleap-enterprise.com", referrer: "https://try.tuleap-enterprise.com/plugins/tracker/?tracker=25564&func=admin-csvimport"
    2020/08/11 07:21:47 [error] 841#0: *897459 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Tuleap\TestManagement\Step\Definition\Field\StepDefinition::doesUserWantToRemoveAllSteps() must be of the type array, string given, called in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Step/Definition/Field/StepDefinition.php on line 255 and defined in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Step/Definition/Field/StepDefinition.php:295
    Stack trace:
    #0 /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Step/Definition/Field/StepDefinition.php(255): Tuleap\TestManagement\Step\Definition\Field\StepDefinition->doesUserWantToRemoveAllSteps('Etape1')
    #1 /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php(1138): Tuleap\TestManagement\Step\Definition\Field\StepDefinition->validate(Object(Tracker_Artifact), 'Etape1')
    #2 /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php(1122): Tracker_Fo" while reading response header from upstream, client: 163.172.40.194, server: try.tuleap-enterprise.com, request: "POST /plugins/tracker/?tracker=25564&func=admin-csvimport HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "try.tuleap-enterprise.com", referrer: "https://try.tuleap-enterprise.com/plugins/tracker/?tracker=25564&func=admin-csvimport"
    Test Management
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2020-08-12
    Attachments
    Empty
    References
    Referenced by request #16212

    Follow-ups