•  
      request #14625 Fatal error while uploading a new version for a docman item
    Infos
    #14625
    Nicolas Terray (nterray)
    2020-04-06 15:19
    2020-03-04 10:35
    15871
    Details
    Fatal error while uploading a new version for a docman item
    [04-Mar-2020 09:30:24] WARNING: [pool tuleap] child 15512 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: Argument 12 passed to Tuleap\Docman\Upload\Version\VersionToUploadCreator::create() must be of the type string, null given, called in /usr/share/tuleap/plugins/docman/include/REST/v1/Files/DocmanFileVersionCreator.php on line 75 and defined in /usr/share/tuleap/plugins/docman/include/Upload/Version/VersionToUploadCreator.php:55"
    [04-Mar-2020 09:30:24] WARNING: [pool tuleap] child 15512 said into stderr: "Stack trace:"
    [04-Mar-2020 09:30:24] WARNING: [pool tuleap] child 15512 said into stderr: "#0 /usr/share/tuleap/plugins/docman/include/REST/v1/Files/DocmanFileVersionCreator.php(75): Tuleap\Docman\Upload\Version\VersionToUploadCreator->create(Object(Docman_File), Object(PFUser), Object(DateTimeImmutable), '33531796282_858...', '', 'Screenshot from...', 148063, false, 100, 0, '33531796282_858...', NULL, NULL)"
    [04-Mar-2020 09:30:24] WARNING: [pool tuleap] child 15512 said into stderr: "#1 /usr/share/tuleap/plugins/docman/include/REST/v1/DocmanFilesResource.php(510): Tuleap\Docman\REST\v1\Files\DocmanFileVersionCreator->createFileVersion(Object(Docman_File), Object(PFUser), Object(Tuleap\Docman\REST\v1\Files\DocmanFileVersionPOSTRepresentation), Object(DateTimeImmutable), 100, 0..."

    This works on other items but this one fails (it is old, I don't know if that matters)
    Empty
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Marie Ange Garnier (marieange)
    Closed
    2020-04-06
    Attachments
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2020-04-06 15:19
    Integrated into Tuleap 11.13.99.37.

    • Status changed from Under review to Closed
    • Reported in version changed from development to All
    • Connected artifacts
    • Close date set to 2020-04-06
    User avatar
    • Summary
      -Fatal error while uploading a docman item 
      +Fatal error while uploading a new version for a docman item