{"action":"closed","issue":{"url":"https://api.github.com/repos/4teamwork/ftw.file/issues/64","repository_url":"https://api.github.com/repos/4teamwork/ftw.file","labels_url":"https://api.github.com/repos/4teamwork/ftw.file/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/4teamwork/ftw.file/issues/64/comments","events_url":"https://api.github.com/repos/4teamwork/ftw.file/issues/64/events","html_url":"https://github.com/4teamwork/ftw.file/issues/64","id":157932435,"number":64,"title":"Document date must be required","user":{"login":"jone","id":7469,"avatar_url":"https://avatars.githubusercontent.com/u/7469?v=3","gravatar_id":"","url":"https://api.github.com/users/jone","html_url":"https://github.com/jone","followers_url":"https://api.github.com/users/jone/followers","following_url":"https://api.github.com/users/jone/following{/other_user}","gists_url":"https://api.github.com/users/jone/gists{/gist_id}","starred_url":"https://api.github.com/users/jone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jone/subscriptions","organizations_url":"https://api.github.com/users/jone/orgs","repos_url":"https://api.github.com/users/jone/repos","events_url":"https://api.github.com/users/jone/events{/privacy}","received_events_url":"https://api.github.com/users/jone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"elioschmutz","id":557005,"avatar_url":"https://avatars.githubusercontent.com/u/557005?v=3","gravatar_id":"","url":"https://api.github.com/users/elioschmutz","html_url":"https://github.com/elioschmutz","followers_url":"https://api.github.com/users/elioschmutz/followers","following_url":"https://api.github.com/users/elioschmutz/following{/other_user}","gists_url":"https://api.github.com/users/elioschmutz/gists{/gist_id}","starred_url":"https://api.github.com/users/elioschmutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elioschmutz/subscriptions","organizations_url":"https://api.github.com/users/elioschmutz/orgs","repos_url":"https://api.github.com/users/elioschmutz/repos","events_url":"https://api.github.com/users/elioschmutz/events{/privacy}","received_events_url":"https://api.github.com/users/elioschmutz/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-06-01T15:11:31Z","updated_at":"2016-06-02T11:34:35Z","closed_at":"2016-06-02T11:34:35Z","body":"**Goal:**\r\nMake the document date required. Existing documents without a document date will have the document date set to their creation dates in an upgrade step. When creating documents (or drag'n'drop-uploading), the document will be set to \"now\".\r\n\r\n**Issue / reason:**\r\nWe can only sort a list of documents by document date when all of the items have a date. The catalog enforces this behavior by just removing (!) all documents from the list when they do not have a date. This behavior is correct because the catalog does not know the meaning of dates in general and thus cannot decide whether to sort those items at the top or at the bottom.\r\n\r\nAnother reason is that every document has a date. If it does not, it is used wrongfully, for example the document date field is abused for another purpose.\r\n\r\nNot having a document date is no longer a supported use case. If there are issues when migrating and projects / customer have a problem with this decision, a requirements engineering session must be initiated and may for example result in a new date field which describes the customers use case more precisely.\r\n\r\n**History:**\r\nThe `ftw.tabbedview` used to \"fix\" the catalog \"bug\" by not sorting with the catalog but by sorting manually in python. However, the results were always wrong because there is no correct sorting behavior when values are missing.\r\n\r\nDiscussed with @maethu and @elioschmutz \r\n/cc @4teamwork/dev-plone FYI"}}
{"actor":{"display_login":"jone"}}