•  
      request #19383 Crash when following a link to a deleted release
    Infos
    #19383
    Thomas Gerbet (tgerbet)
    2021-03-02 10:16
    2021-03-01 16:05
    20970
    Details
    Crash when following a link to a deleted release
    If you follow a link to a non existing release (e.g. because this release has been deleted) you will get a fatal error.

    Reproduction:
    Access a release via a direct URL looking like this https://<tuleap_instance>/file/showfiles.php?group_id=102&release_id=donotexist

    Trace:
    Fatal error: Uncaught Error: Call to a member function getPackageID() on null in /usr/share/tuleap/src/www/file/showfiles.php on line 118
    Error: Call to a member function getPackageID() on null in /usr/share/tuleap/src/www/file/showfiles.php on line 118
    Call Stack
    # Time Memory Function Location
    1 0.0027 526920 {main}( ) .../showfiles.php:0
    Delivery/File release system
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2021-03-02
    Attachments
    Empty
    References

    Follow-ups