Closed and reopened issues don't reappear in Open Issues list
Created by: poolski
As the title suggests, when I close an issue and then re-open it, it will appear in "All" but not in "Open" issues, which is weird and irksome.
Any ideas as to why?
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Created by: poolski
As the title suggests, when I close an issue and then re-open it, it will appear in "All" but not in "Open" issues, which is weird and irksome.
Any ideas as to why?
Created by: mjonckiere
same problem. The culprit is the Issuable concern, which adds a opened
scope that only includes 'opened' state (not 'reopened'). The issue might be solved by changing the scope from:
scope :opened, -> { with_state(:opened) }
to :
scope :opened, ->{ with_states(:opened, :reopened) }
However, this scope is used A LOT in many controllers & contexts, so the change might affect large chunks of the app (did not run the tests yet to see if they pass).
Another option (what i did locally) is to create a new scope and use it in IssuesListContext
instead of the regular one.
By Administrator on 2013-04-02T08:38:49 (imported from GitLab)