•  
      request #11485 PHP warning when revoking a dynamic credential
    Infos
    #11485
    Thomas Gerbet (tgerbet)
    2018-05-26 09:33
    2018-05-17 11:35
    11810
    Details
    PHP warning when revoking a dynamic credential
    A PHP warning is thrown each time the REST route DELETE /dynamic_credentials/{username} is called.


    PHP Warning: Missing argument 1 for Tuleap\DynamicCredentials\REST\DynamicCredentialsResource::optionsUsername(), called in /usr/share/tuleap/plugins/dynamic_credentials/include/REST/DynamicCredentialsResource.php on line 96 and defined in /usr/share/tuleap/plugins/dynamic_credentials/include/REST/DynamicCredentialsResource.php on line 81"
    PHP Stack trace:"
    PHP 1. {main}() /usr/share/tuleap/src/www/api/index.php:0"
    PHP 2. Luracast\Restler\Restler->handle() /usr/share/tuleap/src/www/api/index.php:116"
    PHP 3. Luracast\Restler\Restler->call() /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:304"
    PHP 4. call_user_func_array:{/usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:1065}() /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:1065"
    PHP 5. Tuleap\DynamicCredentials\REST\DynamicCredentialsResource->deleteUsername() /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:1065"
    PHP 6. Tuleap\DynamicCredentials\REST\DynamicCredentialsResource->optionsUsername() /usr/share/tuleap/plugins/dynamic_credentials/include/REST/DynamicCredentialsResource.php:96
    Other
    9.19
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-05-26
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Integrated into Tuleap 10.1.99.17

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2018-05-26