•  
      request #15042 Cannot add a new Git mirror
    Infos
    #15042
    Thomas Gerbet (tgerbet)
    2020-07-07 12:23
    2020-07-01 09:42
    16297
    Details
    Cannot add a new Git mirror
    The page crashes.

    Issue introduced by git #tuleap/stable/d17c7fabdfc0a672e5561f3782a2babd78904ce8 .

    Trace:
    Fatal error: Uncaught TypeError: Argument 1 passed to PFUser::setPassword() must be an instance of Tuleap\Cryptography\ConcealedString, string given, called in /usr/share/tuleap/plugins/git/include/Git/Mirror/MirrorDataMapper.class.php on line 145 and defined in /usr/share/tuleap/src/common/User/User.class.php on line 1206
    TypeError: Argument 1 passed to PFUser::setPassword() must be an instance of Tuleap\Cryptography\ConcealedString, string given, called in /usr/share/tuleap/plugins/git/include/Git/Mirror/MirrorDataMapper.class.php on line 145 in /usr/share/tuleap/src/common/User/User.class.php on line 1206
    Call Stack
    # Time Memory Function Location
    1 0.0000 409848 {main}( ) .../index.php:0
    2 0.0074 2364144 Tuleap\Request\FrontRouter->route( ) .../index.php:49
    3 0.0095 2676344 Tuleap\Request\FrontRouter->routeHandler( ) .../FrontRouter.php:109
    4 0.0141 3313200 Git_AdminRouter->process( ) .../FrontRouter.php:242
    5 0.0156 3340536 Git_AdminMirrorController->process( ) .../AdminRouter.class.php:148
    6 0.0156 3340536 Git_AdminMirrorController->createMirror( ) .../AdminMirrorController.class.php:70
    7 0.0156 3340536 Git_Mirror_MirrorDataMapper->save( ) .../AdminMirrorController.class.php:279
    8 0.0288 3340496 Git_Mirror_MirrorDataMapper->createUserForMirror( ) .../MirrorDataMapper.class.php:88
    9 0.0289 3343928 PFUser->setPassword( ) .../MirrorDataMapper.class.php:145
    SCM/Git
    11.14
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2020-07-07
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Integrated to Tuleap 11.16.99.98

    • Status changed from Under review to Closed
    • Close date set to 2020-07-07