Closed
Bug 179494
Opened 22 years ago
Closed 22 years ago
requesting super-review didn't work well
Categories
(Bugzilla :: Attachments & Requests, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: Biesinger, Assigned: myk)
References
Details
Attachments
(1 file, 5 obsolete files)
(deleted),
patch
|
bbaetz
:
review+
|
Details | Diff | Splinter Review |
<biesi> myk: could you take a look at bug 102848, looks like bugzilla did
soemthing wrong there...
<biesi> myk: the patch had review+ from ducarroz, I wanted to request
superreview from bienvenu...
<biesi> myk: also, the process_bug page told me that no mail was sent when I
added the superreview? status, shouldn't at least the requestee have got mail?
<biesi> myk: in addition, bugzilla mailed me: "Christian Biesinger
<cbiesinger@web.de> has approved your request for review" wtf?
additionally, the requests.cgi page now shows two requests for the same status
on the same attachment.
*** Bug 179495 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 2•22 years ago
|
||
ah yeah, maybe I should mention the actual issue here...
the attachment flag box looks like this:
cbiesinger: superreview? (bienvenu)
cbiesinger: superreview? (bienvenu)
cbiesinger: review+
I would have expected only one superreview? and the review+ should be ducarroz's
not mine.
Assignee | ||
Comment 3•22 years ago
|
||
This patch fixes the problem, but it may not fix it all the way, and I think it
needs to be carefully scrutinized.
Comment 4•22 years ago
|
||
Comment on attachment 105884 [details] [diff] [review]
patch v1: fixes problem
The logic here looks right. Skip if:
- the status is the same, and
- there couldn't have been a user; or
- there was originally a user, and tha tuser is still the same
r=bbaetz
Attachment #105884 -
Flags: review+
Comment 5•22 years ago
|
||
a=justdave
Comment 6•22 years ago
|
||
>a=justdave
myk goes to all the trouble to upgrade Bugzilla, and for what?
Comment 7•22 years ago
|
||
this also fixes an issue where if you edit an attachment with a set flag and
submit without changing anything, it sends an additional email about the flag
being set.
Reporter | ||
Comment 8•22 years ago
|
||
that fixes it? great... earlier today, I had experienced that bug on bmo
Comment 9•22 years ago
|
||
..except that myk told me that this patch was already on bmo...
Comment 10•22 years ago
|
||
Actually, theres another problem - bug 179643 is a separate issue. Going to
comment there now
Comment 11•22 years ago
|
||
No, forget that - it is the same issue
Assignee | ||
Comment 12•22 years ago
|
||
This patch deals with additional cases of this bug that have been reported
since the first patch was applied to b.m.o Monday morning. This patch has also
been applied to b.m.o.
The patch fixes the problem by trimming the email address field, which is given
a space on the end by the user matching code in User::match_field.
Attachment #105884 -
Attachment is obsolete: true
Assignee | ||
Comment 13•22 years ago
|
||
cc:ing Erik for explanation of User::match_field's behavior. Erik, why does
User::match_field add a space to an email address for a single-user field?
Assignee | ||
Comment 14•22 years ago
|
||
*** Bug 179643 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•22 years ago
|
Blocks: rt-clean-up
Comment 15•22 years ago
|
||
re: comment 13
> Erik, why does User::match_field add a space to an email address for a
> single-user field?
It was a brain-dead delimiter being tacked on to everything, which worked in
everything but RT. This patch should fix it.
Comment 16•22 years ago
|
||
Comment on attachment 106392 [details] [diff] [review]
Fixes the appended-space problem
Rather than testing the length, just use the string directly - its quicker,
since you just want to know if the string is empty or not
Comment 17•22 years ago
|
||
re: comment 16
> Rather than testing the length, just use the string directly - its quicker,
> since you just want to know if the string is empty or not
I guess I get into the habit of testing the length because the string could
possibly contain something like '0', especially if logins stop being email
addresses. Boolean test against the string doesn't just fail if it's empty.
Anyway, this patch does the boolean string test instead.
Attachment #106392 -
Attachment is obsolete: true
Comment 18•22 years ago
|
||
Comment on attachment 106437 [details] [diff] [review]
Fixes appended-space problem (new)
This looks fine, r=bbaetz. Can myk check that this solves teh other problem w/o
needing this workarround? It should, but....
Attachment #106437 -
Flags: review+
Assignee | ||
Comment 19•22 years ago
|
||
This patch combines not_erik's and my approaches, since each fixes only part of
the problem. not_erik's fix deals with the general case, while my fix targets
specific kinds of transactions for which the earlier logic (for determining
whether or not the flags had changed) was faulty.
Attachment #106065 -
Attachment is obsolete: true
Attachment #106437 -
Attachment is obsolete: true
Comment 20•22 years ago
|
||
Comment on attachment 106559 [details] [diff] [review]
patch v5: superset of fixes
r=bbaetz, but change the &::trim to trim, and |use Bugzilla::Util;| if you need
to include that to get this working
Attachment #106559 -
Flags: review+
Assignee | ||
Comment 21•22 years ago
|
||
Checking in Bugzilla/User.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v <-- User.pm
new revision: 1.9; previous revision: 1.8
done
Checking in Bugzilla/Flag.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Flag.pm,v <-- Flag.pm
new revision: 1.6; previous revision: 1.5
done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 22•22 years ago
|
||
Somehow I missed bbaetz' last comment when I checked this in. This patch fixes
that.
Attachment #106559 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #106600 -
Flags: review?(bbaetz)
Updated•22 years ago
|
Attachment #106600 -
Flags: review?(bbaetz) → review+
Assignee | ||
Comment 23•22 years ago
|
||
Checking in Bugzilla/Flag.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Flag.pm,v <-- Flag.pm
new revision: 1.7; previous revision: 1.6
done
Updated•22 years ago
|
Target Milestone: --- → Bugzilla 2.18
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•