•  
      request #35493 A Git tag named "0" produces null in PHP
    Infos
    #35493
    Guilhem Bonnefille (CS) (gbonnefille)
    2023-12-27 16:33
    2023-12-20 16:07
    37096
    Details
    A Git tag named "0" produces null in PHP

    When processing a Git repository containing a tag named "0" produces

    PHP message: PHP Fatal error:  Uncaught Error: Call to a member function GetType() on null in /usr/share/tuleap/plugins/git/include/GitPHP/git/Commit.php:739
    

    Renaming the tag as "0.0" fixes the issue.

    SCM/Git
    15.1
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Yannis ROSSETTO (rossettoy)
    Closed
    2023-12-27
    Attachments
    Empty
    References

    Follow-ups