Issue 117146 - Closed bug which was never confirmed cannot be reopened
Summary: Closed bug which was never confirmed cannot be reopened
Status: CLOSED FIXED_WITHOUT_CODE
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Bugzilla (show other issues)
Version: current
Hardware: PC Windows NT
: P3 Normal (vote)
Target Milestone: ---
Assignee: Frank Schönheit
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 13:35 UTC by r4zoli
Modified: 2016-04-07 08:40 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description r4zoli 2011-03-01 13:35:05 UTC
I closed the bug 117132, needs to reopen it. 

The REOPENED status could not be set, with my settings.
Comment 1 eric.savary 2011-03-05 12:02:33 UTC
Neither can I reopen this issue: no enabled controls for "Status".
Comment 2 stx123 2011-03-07 09:25:18 UTC
The Status: field is followed by an (edit) link.
If you click on this the control further below in the form opens.
So this works for me.
Comment 3 r4zoli 2011-03-07 09:40:20 UTC
In the mentioned bug (117132) the staus for me, which I can select CLOSED or RESOLVED and I could not select REOPENED.

If see my other bugs which set as FIXED I could select REOPENED, in bugs as CLOSED,the REOPENED not selectable.

I could add text in comments area, but the status could not be set as REOPENED. 

For this bug I could set as reopened.
Comment 4 stx123 2011-03-07 10:02:36 UTC
Hm, the workflow definition obviously allows bugs to vhange the status from CLOSED to REOPENED...
Comment 5 Frank Schönheit 2011-03-07 11:50:18 UTC
steps to reproduce:
- submit a new issue as UNCONFIRMED (not NEW!)
- RESOLVE the issue as INVALID
- CLOSE the issue
=> the issue cannot be REOPENED

Caused by the following in bugzilla/template/en/default/bug/knob.html.tmpl

 [%# Special hack to only display UNCO or REOP when reopening, but not both;
   # for compatibility with older versions. %]
 [% NEXT IF !bug.isopened && (bug.everconfirmed &&
        bug_status.name == "UNCONFIRMED"
    || !bug.everconfirmed && bug_status.name == "REOPENED") %]

, which effectively translates to
  If the bug is closed, then
  - do not display "UNCONFIRMED" if the bug was already confirmed
  - do not display "REOPENED" if the bug was never confirmed

This sounds buggy to me, as I would expect that UNCONFIRMED is displayed for a bug which has been moved directly from UNCONFIRMED to CLOSED (without actual confirmation).

Accepting the issue, but would need further investigations on the implications of changing this.

For the concrete bug in question, the only solution so far is to submit a new one - sorry for the inconvenience.
Comment 6 bernd.eilers 2011-03-15 19:11:13 UTC
bei->fs: the problem is not the template but missing workflow definitions.
Previously missing was the item unconfirmed  from status resolved.
Just added those.
Now a resolved issue can go to unconfirmed  if it was never confirmed before or if confirmed before to reopened.
Comment 7 bernd.eilers 2011-03-15 19:35:25 UTC
That you have to configure the workflow as I just did is well documented on the workflow admin page by the way. This is how it is supposed to be.

Moving status to resolved/fixed.
Comment 8 Oliver-Rainer Wittmann 2012-06-13 12:29:02 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 9 Du Jing 2012-06-19 09:26:36 UTC
Has some can clarify the workflow of bug status?

I think if the bug is resolved by mark as invalid or duplicate or un-reproduce,we can allow can't reopen the defect;if not,can allow reopen the bug.