Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #35465 Docman error when accessing a document in default template
    Infos
    #35465
    Yannis ROSSETTO (rossettoy)
    2023-12-13 09:16
    2023-12-08 10:30
    37112
    Details
    Docman error when accessing a document in default template

    Given a document added to the Tuleap Default Template project, then an error is raised:

    FastCGI sent in stderr : PHP warning : undefined array key 0 in (...)/Docman_MetadataListOfValuesElementFactory.class.php on line 355
    PHP Fatal error : Uncaught Error: Call to a member function getId() on null in /usr/share/tuleap/plugins/docman/include/REST/v1/Metadata/MetadataRepresentationBuilder.php:114
    

    This occurs because the install.sql initiates this docman with a status set to 0, which is an unknown value. Having this particular value must return the None status.

    Doc/Documentation manager
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Yannis ROSSETTO (rossettoy)
    Closed
    2023-12-11
    Attachments
    Empty
    References
    Referenced by request #35465

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes