•  
      request #32990 Crash while saving a document edited collaboratively in ONLYOFFICE
    Infos
    #32990
    Thomas Gerbet (tgerbet)
    2023-07-10 16:30
    2023-07-07 13:11
    34590
    Details
    Crash while saving a document edited collaboratively in ONLYOFFICE

    An integrity constraint of the DB is triggered. Not yet sure how to reproduce the issue.

    {
      "class": "PDOException",
      "message": "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 1822-899 for key plugin_docman_version_coauthor.PRIMARY",
      "code": 23000,
      "file": "/usr/share/tuleap/src/vendor/paragonie/easydb/src/EasyDB.php:726",
      "trace": [
        "/usr/share/tuleap/src/vendor/paragonie/easydb/src/EasyDB.php:726",
        "/usr/share/tuleap/plugins/docman/include/Version/CoAuthorDao.php:50",
        "/usr/share/tuleap/plugins/onlyoffice/include/Save/OnlyOfficeCallbackDocumentSaver.php:209",
        "/usr/share/tuleap/plugins/onlyoffice/include/Save/OnlyOfficeCallbackDocumentSaver.php:82",
        "/usr/share/tuleap/src/common/NeverThrow/Ok.php:71",
        "/usr/share/tuleap/plugins/onlyoffice/include/Save/OnlyOfficeCallbackDocumentSaver.php:84",
        "/usr/share/tuleap/src/vendor/paragonie/easydb/src/EasyDB.php:1263",
        "/usr/share/tuleap/src/common/DB/DBTransactionExecutorWithConnection.php:44",
        "/usr/share/tuleap/plugins/onlyoffice/include/Save/OnlyOfficeCallbackDocumentSaver.php:86",
        "/usr/share/tuleap/src/common/Option/Option.php:103",
        "/usr/share/tuleap/plugins/onlyoffice/include/Save/OnlyOfficeCallbackDocumentSaver.php:89",
        "/usr/share/tuleap/plugins/onlyoffice/include/Save/OnlyOfficeSaveController.php:71",
        "/usr/share/tuleap/src/common/NeverThrow/Ok.php:71",
        "/usr/share/tuleap/plugins/onlyoffice/include/Save/OnlyOfficeSaveController.php:72",
        "/usr/share/tuleap/src/common/Http/Server/RequestHandlerAsMiddleware.php:44",
        "/usr/share/tuleap/src/common/Http/Server/MiddlewareDispatcher.php:52",
        "/usr/share/tuleap/src/common/Http/Server/SessionWriteCloseMiddleware.php:36",
        "/usr/share/tuleap/src/common/Http/Server/MiddlewareDispatcher.php:52",
        "/usr/share/tuleap/plugins/onlyoffice/include/Save/SaveDocumentWithTokenMiddleware.php:65",
        "/usr/share/tuleap/src/common/Http/Server/MiddlewareDispatcher.php:52",
        "/usr/share/tuleap/src/common/Request/DispatchablePSR15Compatible.php:62",
        "/usr/share/tuleap/src/common/Request/FrontRouter.php:242",
        "/usr/share/tuleap/src/common/Request/FrontRouter.php:110",
        "/usr/share/tuleap/src/www/index.php:50"
      ]
    }
    
    Doc/Documentation manager
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2023-07-10
    Attachments
    Empty
    References

    Follow-ups