Closed Bug 305993 Opened 19 years ago Closed 15 years ago

The requestee field may be omitted even when a requestee is already set

Categories

(Bugzilla :: Attachments & Requests, defect)

2.20
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file)

Flag.pm says:

        # Make sure the user didn't specify a requestee unless the flag
        # is specifically requestable. If the requestee was set before
        # the flag became specifically unrequestable, leave it as is.

But template/en/default/flag/list.html.tmpl displays the requestee field only when:

        [% IF any_flags_requesteeble %]
          <td>
            [% IF type.is_active && type.is_requesteeble %]

That means that if a requestee was initially set and now the flag is no longer
specifically requestable, the requestee field will not be displayed anymore
despite a requestee is given.

Not only the requestee is not visible anymore, but the next time the bug or the
attachment is edited, the requestee will be (silently) removed, which is not wanted!
Target Milestone: --- → Bugzilla 2.20
Whiteboard: [Good Intro Bug]
If someone edits a flag to make it no longer specifically requestable, it ought to remove all the requestees (and warn the admin doing it that it's going to do so first).
Probably not that easy to fix, so removing [Good Intro Bug].
Whiteboard: [Good Intro Bug]
Target Milestone: Bugzilla 2.20 → Bugzilla 2.22
We are freezing the code for 3.0 in two weeks and we don't expect this bug to be fixed on time.
Target Milestone: Bugzilla 2.22 → ---
lpsolit? my bug is about disabled, not !specifically_requestable.

justdave's comment seems to imply that you're talking about a bug that lost its specifically_requestable bit.

we explicitly want to be able to have requested flags that are pending but for which no new pending flags may be added.
Depends on: 427226
Attached patch patch, v1Splinter Review
This patch depends on code which landed in bug 415541, so we cannot take it for 3.4. So r+'ing myself as module owner for flags.
Assignee: attach-and-request → LpSolit
Status: NEW → ASSIGNED
Attachment #392850 - Flags: review+
Severity: normal → minor
Flags: approval+
Target Milestone: --- → Bugzilla 3.6
Checking in attachment.cgi;
/cvsroot/mozilla/webtools/bugzilla/attachment.cgi,v  <--  attachment.cgi
new revision: 1.158; previous revision: 1.157
done
Checking in Bugzilla/Bug.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Bug.pm,v  <--  Bug.pm
new revision: 1.288; previous revision: 1.287
done
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: