Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do issue duplication and close in same step #127

Merged
merged 4 commits into from Feb 3, 2019
Merged

Conversation

glensc
Copy link
Member

@glensc glensc commented Jan 14, 2016

never liked the way issue duplication is handled, always have to do separate close issue after issue being marked as duplicate. as a result people tend just close issues without bothering duplication status, as setting state as duplication itself does nothing.

this is first step, i guess the close form could be made intelligent to see if resolution is marked as 'duplicate' would ask for duplicate issue id as well

@glensc glensc modified the milestones: 3.0.8, 3.0.9 Jan 14, 2016
@glensc glensc modified the milestones: 3.0.9, 3.0.10 Feb 6, 2016
@glensc glensc modified the milestones: 3.0.10, 3.0.11 Feb 29, 2016
@glensc glensc modified the milestones: 3.0.11, 3.0.12 Mar 28, 2016
@glensc glensc modified the milestones: 3.0.12, 3.1.0 Apr 19, 2016
@glensc glensc modified the milestones: 3.1.0, 3.1.1 Apr 29, 2016
@glensc glensc modified the milestones: 3.1.1, 3.1.2 May 29, 2016
@glensc glensc modified the milestones: 3.1.2, 3.1.3 Jun 6, 2016
@glensc glensc modified the milestones: 3.1.3, Backlog Aug 30, 2016
@glensc
Copy link
Member Author

glensc commented Jan 31, 2019

I wonder what was missing here for merge, the changes look good here.

@balsdorf

@glensc glensc force-pushed the duplicate-close branch 3 times, most recently from c1a1f30 to a73669c Compare January 31, 2019 16:19
@glensc glensc modified the milestones: Backlog, 3.6.0 Jan 31, 2019
@glensc
Copy link
Member Author

glensc commented Jan 31, 2019

while testing, made some changes:

    • 2d70935 - use generic error page. "auth_customer" not found in any template (10 seconds ago)

@balsdorf can you check that $this->role_id == User::ROLE_CUSTOMER check is superfluous?

@glensc
Copy link
Member Author

glensc commented Jan 31, 2019

i think Issue::exists seems pointless, as access check won't let access this far

@glensc
Copy link
Member Author

glensc commented Jan 31, 2019

Extra: could prefill status/resolution as killed/duplicate in close form

@glensc glensc merged commit 9cd254e into master Feb 3, 2019
@glensc glensc deleted the duplicate-close branch February 3, 2019 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant