Skip to content

You can set an invalid date as expiration date for sharing if you preview an image #6595

Closed

Description

@GiantCrocodile

Just preview an image in gallery and try to set an expiration date while preview is open. No calendar pops up and you have no clue which format for the date is expected as input. This happens with latest version of NextCloud.

If you set an expiration date outside of the preview, you can't see what's set as expiration date in preview mode.

Activity

  1. GiantCrocodile commented on Sep 20, 2017

    @GiantCrocodile
    Author

    Related error to this:

    {
       "reqId":"<removed>",
       "level":3,
       "time":"<removed>",
       "remoteAddr":"<removed>",
       "user":"<removed>",
       "app":"PHP",
       "method":"PUT",
       "url":"\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares\/1?format=json",
       "message":"DateTime::__construct(): Failed to parse time string (01012017) at position 7 (7): Unexpected character at \/var\/www\/nextcloud\/apps\/files_sharing\/lib\/Controller\/ShareAPIController.php#862",
       "userAgent":"<removed>",
       "version":"12.0.3.3"
    }
  2. blizzz commented on Sep 25, 2017

    @blizzz
    Member

    Duplicate of nextcloud/gallery#313 (anyway belongs to Gallery repo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions