{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/32056","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/32056/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/32056/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/32056/events","html_url":"https://github.com/owncloud/core/issues/32056","id":341487068,"node_id":"MDU6SXNzdWUzNDE0ODcwNjg=","number":32056,"title":"empty Expiration date results in \"invalid date\" entry","user":{"login":"individual-it","id":2425577,"node_id":"MDQ6VXNlcjI0MjU1Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/2425577?v=4","gravatar_id":"","url":"https://api.github.com/users/individual-it","html_url":"https://github.com/individual-it","followers_url":"https://api.github.com/users/individual-it/followers","following_url":"https://api.github.com/users/individual-it/following{/other_user}","gists_url":"https://api.github.com/users/individual-it/gists{/gist_id}","starred_url":"https://api.github.com/users/individual-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/individual-it/subscriptions","organizations_url":"https://api.github.com/users/individual-it/orgs","repos_url":"https://api.github.com/users/individual-it/repos","events_url":"https://api.github.com/users/individual-it/events{/privacy}","received_events_url":"https://api.github.com/users/individual-it/received_events","type":"User","site_admin":false},"labels":[{"id":12406434,"node_id":"MDU6TGFiZWwxMjQwNjQzNA==","url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929","default":true},{"id":611222017,"node_id":"MDU6TGFiZWw2MTEyMjIwMTc=","url":"https://api.github.com/repos/owncloud/core/labels/p3-medium","name":"p3-medium","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":{"login":"felixheidecke","id":12717530,"node_id":"MDQ6VXNlcjEyNzE3NTMw","avatar_url":"https://avatars0.githubusercontent.com/u/12717530?v=4","gravatar_id":"","url":"https://api.github.com/users/felixheidecke","html_url":"https://github.com/felixheidecke","followers_url":"https://api.github.com/users/felixheidecke/followers","following_url":"https://api.github.com/users/felixheidecke/following{/other_user}","gists_url":"https://api.github.com/users/felixheidecke/gists{/gist_id}","starred_url":"https://api.github.com/users/felixheidecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixheidecke/subscriptions","organizations_url":"https://api.github.com/users/felixheidecke/orgs","repos_url":"https://api.github.com/users/felixheidecke/repos","events_url":"https://api.github.com/users/felixheidecke/events{/privacy}","received_events_url":"https://api.github.com/users/felixheidecke/received_events","type":"User","site_admin":false},"assignees":[{"login":"felixheidecke","id":12717530,"node_id":"MDQ6VXNlcjEyNzE3NTMw","avatar_url":"https://avatars0.githubusercontent.com/u/12717530?v=4","gravatar_id":"","url":"https://api.github.com/users/felixheidecke","html_url":"https://github.com/felixheidecke","followers_url":"https://api.github.com/users/felixheidecke/followers","following_url":"https://api.github.com/users/felixheidecke/following{/other_user}","gists_url":"https://api.github.com/users/felixheidecke/gists{/gist_id}","starred_url":"https://api.github.com/users/felixheidecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixheidecke/subscriptions","organizations_url":"https://api.github.com/users/felixheidecke/orgs","repos_url":"https://api.github.com/users/felixheidecke/repos","events_url":"https://api.github.com/users/felixheidecke/events{/privacy}","received_events_url":"https://api.github.com/users/felixheidecke/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/120","html_url":"https://github.com/owncloud/core/milestone/120","labels_url":"https://api.github.com/repos/owncloud/core/milestones/120/labels","id":3031526,"node_id":"MDk6TWlsZXN0b25lMzAzMTUyNg==","number":120,"title":"development","description":"10.0.10","creator":{"login":"PVince81","id":277525,"node_id":"MDQ6VXNlcjI3NzUyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/277525?v=4","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"open_issues":67,"closed_issues":476,"state":"open","created_at":"2018-01-12T14:07:35Z","updated_at":"2018-08-30T10:49:38Z","due_on":"2018-08-24T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-07-16T11:48:06Z","updated_at":"2018-08-30T11:10:02Z","closed_at":null,"author_association":"MEMBER","body":"### Steps to reproduce\r\n1. enforce public link expiration date\r\n2. create a new public link, delete the expiration date\r\n3. click Share\r\n4. click Share again\r\n5. click Cancel\r\n6. view the settings of new link\r\n\r\n### Expected behaviour\r\nthe UI should tell you that the expiration date is required and let you enter a correct date\r\n\r\n### Actual behaviour\r\nafter point 3 its not possible to enter a new date\r\n![image](https://user-images.githubusercontent.com/2425577/42756696-f95f3776-891c-11e8-9231-dc02e314a510.png)\r\n\r\nafter point 6 \"Invalid date\" is shown\r\n![image](https://user-images.githubusercontent.com/2425577/42756714-1184c0f0-891d-11e8-9ac5-11bb6f2f2cf3.png)\r\n\r\nproblem happens only on master branch, cannot reproduce on stable10\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 17.10\r\n\r\n**Web server:**\r\nApache\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\n7.1\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n10.1 (master branch)\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nfresh\r\n\r\n**Where did you install ownCloud from:**\r\ngit\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n{\r\n    \"system\": {\r\n        \"license-key\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"instanceid\": \"ocuv4s8d5xsv\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"localhost\"\r\n        ],\r\n        \"datadirectory\": \"\\/home\\/artur\\/www\\/owncloud-core\\/data\",\r\n        \"overwrite.cli.url\": \"http:\\/\\/localhost\\/owncloud-core\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"10.1.0.1\",\r\n        \"logtimezone\": \"UTC\",\r\n        \"installed\": true,\r\n        \"theme\": \"\",\r\n        \"loglevel\": 1,\r\n        \"maintenance\": false,\r\n        \"skeletondirectory\": \"\\/home\\/artur\\/www\\/owncloud-core\\/tests\\/acceptance\\/skeleton\",\r\n        \"default_language\": \"en\",\r\n        \"singleuser\": false,\r\n        \"mail_domain\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_from_address\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtpmode\": \"smtp\",\r\n        \"mail_smtphost\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtpport\": \"1025\",\r\n        \"csrf.disabled\": \"true\",\r\n        \"ldapIgnoreNamingRules\": false,\r\n        \"sharing.federation.allowHttpFallback\": true,\r\n        \"files_external_allow_create_new_local\": \"true\",\r\n        \"enable_previews\": false,\r\n        \"cors.allowed-domains\": [\r\n            \"http:\\/\\/localhost:8300\"\r\n        ],\r\n        \"dbname\": \"owncloud\",\r\n        \"dbhost\": \"localhost\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"mysql.utf8mb4\": true,\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\"\r\n    }\r\n}\r\n```\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nEnabled:\r\n  - comments: 0.3.0\r\n  - dav: 0.3.2\r\n  - diagnostics: 0.1.0\r\n  - enterprise_key: 0.1.4\r\n  - federatedfilesharing: 0.3.1\r\n  - federation: 0.1.0\r\n  - files: 1.5.1\r\n  - files_external: 0.7.1\r\n  - files_sharing: 0.10.1\r\n  - files_texteditor: 2.2.1\r\n  - files_trashbin: 0.9.1\r\n  - files_versions: 1.3.0\r\n  - firewall: 2.5.0\r\n  - gallery: 16.0.2\r\n  - market: 0.2.3\r\n  - notifications: 0.3.3\r\n  - provisioning_api: 0.5.0\r\n  - systemtags: 0.3.0\r\n  - updatenotification: 0.2.1\r\n  - windows_network_drive: 0.7.0\r\nDisabled:\r\n  - customgroups\r\n  - files_antivirus\r\n  - files_primary_s3\r\n  - guests\r\n  - multidirtest\r\n  - oauth2\r\n  - password_policy\r\n  - security\r\n  - testing\r\n  - user_ldap\r\n  - user_management\r\n\r\n```\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nlocal\r\n\r\n**Are you using encryption:** yes/no\r\nno\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nno\r\n\r\n### Client configuration\r\n**Browser:**\r\nFF 61\r\n\r\n**Operating system:**\r\nUnuntu 17.10\r\n\r\n### Logs\r\n#### Browser log\r\nafter point 3 POST Request:\r\n\r\n|field|data|\r\n|--|--|\r\n|expireDate |  |\r\n|name | FOLDER link|\r\n|path | /FOLDER|\r\n|permissions | 1|\r\n|shareType | 3|\r\n\r\nResponse:\r\n```\r\n{\"ocs\":{\"meta\":{\"status\":\"ok\",\"statuscode\":200,\"message\":null},\"data\":{\"id\":\"5\",\"share_type\":3,\"uid_owner\":\"admin\",\"displayname_owner\":\"admin\",\"permissions\":1,\"stime\":1531741345,\"parent\":null,\"expiration\":\"2018-07-23 00:00:00\",\"token\":\"3LLLdfwFBIsxrm8\",\"uid_file_owner\":\"admin\",\"displayname_file_owner\":\"admin\",\"path\":\"\\/FOLDER\",\"item_type\":\"folder\",\"mimetype\":\"httpd\\/unix-directory\",\"storage_id\":\"home::admin\",\"storage\":1,\"item_source\":\"9\",\"file_source\":\"9\",\"file_parent\":\"2\",\"file_target\":\"\\/FOLDER\",\"share_with\":null,\"share_with_displayname\":null,\"name\":\"FOLDER link\",\"url\":\"http:\\/\\/localhost\\/owncloud-core\\/index.php\\/s\\/3LLLdfwFBIsxrm8\",\"mail_send\":0}}}\r\n```\r\n\r\nafter point 4 PUT request:\r\n\r\n|field|data|\r\n|--|--|\r\n|expireDate |  |\r\n|name | FOLDER link|\r\n|permissions | 1|\r\n|shareType | 3|\r\n\r\nresponse:\r\n```\r\n{\"ocs\":{\"meta\":{\"status\":\"failure\",\"statuscode\":400,\"message\":\"Expiration date is enforced\"},\"data\":[]}}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/417281664","html_url":"https://github.com/owncloud/core/issues/32056#issuecomment-417281664","issue_url":"https://api.github.com/repos/owncloud/core/issues/32056","id":417281664,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzI4MTY2NA==","user":{"login":"felixheidecke","id":12717530,"node_id":"MDQ6VXNlcjEyNzE3NTMw","avatar_url":"https://avatars0.githubusercontent.com/u/12717530?v=4","gravatar_id":"","url":"https://api.github.com/users/felixheidecke","html_url":"https://github.com/felixheidecke","followers_url":"https://api.github.com/users/felixheidecke/followers","following_url":"https://api.github.com/users/felixheidecke/following{/other_user}","gists_url":"https://api.github.com/users/felixheidecke/gists{/gist_id}","starred_url":"https://api.github.com/users/felixheidecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixheidecke/subscriptions","organizations_url":"https://api.github.com/users/felixheidecke/orgs","repos_url":"https://api.github.com/users/felixheidecke/repos","events_url":"https://api.github.com/users/felixheidecke/events{/privacy}","received_events_url":"https://api.github.com/users/felixheidecke/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T11:10:02Z","updated_at":"2018-08-30T11:10:02Z","author_association":"CONTRIBUTOR","body":"The \"problem\" is, that the unsaved state model remains in it's \"edited\" state. It should reset one we click aboard. But instead, it stays. I'm going to implement a revert function."}}
{"actor":{"display_login":"felixheidecke"}}