•  
      request #13045 New docman interface crash
    Infos
    #13045
    Manuel Vacelet (vaceletm)
    2019-03-21 18:06
    2019-02-27 11:19
    13910
    Details
    New docman interface crash

    When I go on https://c6.valid.enalean.com/plugins/document/mv-valid-9-3-sftp2/

    I'm getting an error screen and corresponding logs are

    2019/02/27 10:16:43 [error] 32139#0: *4170 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Docman_LinkVersion::__construct() must be of the type array, boolean given, called in /usr/share/tuleap/plugins/docman/include/Docman_LinkVersionFactory.class.php on line 72 and defined in /usr/share/tuleap/plugins/docman/include/Docman_LinkVersion.class.php:32
    Stack trace:
    #0 /usr/share/tuleap/plugins/docman/include/Docman_LinkVersionFactory.class.php(72): Docman_LinkVersion->__construct(false)
    #1 /usr/share/tuleap/plugins/docman/include/REST/v1/ItemRepresentationVisitor.php(92): Docman_LinkVersionFactory->getLatestVersion(Object(Docman_Link))
    #2 /usr/share/tuleap/plugins/docman/include/Docman_Link.class.php(60): Tuleap\Docman\REST\v1\ItemRepresentationVisitor->visitLink(Object(Docman_Link), Array)
    #3 /usr/share/tuleap/plugins/docman/include/REST/v1/ItemRepresentationCollectionBuilder.php(72): Docman_Link->accept(Object(Tuleap\Docman\REST\v1\ItemRepresentationVisitor), Array)
    #4 /usr/share/tuleap/plugins/docman/include/REST/v1/Docman" while reading response header from upstream, client: x, server: c6.valid.enalean.com, request: "GET /api/docman_items/3355/docman_items?limit=50&offset=0 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "c6.valid.enalean.com", referrer: "https://c6.valid.enalean.com/plugins/document/mv-valid-9-3-sftp2/"

     

    Doc/Documentation manager
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2019-03-13
    Attachments
    Empty
    References

    Follow-ups