The default bug view has changed. See this FAQ.

[BUGZILLA] Handle long field names in the what field better

ASSIGNED
Assigned to

Status

Webtools
Mozbot
ASSIGNED
7 years ago
3 years ago

People

(Reporter: reed, Assigned: reed)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

7 years ago
Created attachment 420299 [details] [diff] [review]
patch - v1

See the following example:

Mark Banner (:standard8) <> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 blocking-thunderbi|?                           |needed
              rd3.0|                            |
         AssignedTo|nobody@mozilla.org          |bienvenu@.com
  Status Whiteboard|[223 Migration]             |[223 Migration][blocks a
                   |                            |major upgrade]
               Flag|                            |blocking-thunderbird3.1+


<firebot> bugzilla@standard8.....com set blocking-thunderbi to needed on bug 534448.

The What wrapped to the next line.

Untested patch that will hopefully fix the problem.
Attachment #420299 - Flags: review?(bugtrap)

Comment 1

7 years ago
Will this also fix the problems where addresses get broken in the removed/added columns as well? (we frequently get space separated addresses in lines because of the line breaks
(Assignee)

Comment 2

7 years ago
(In reply to comment #1)
> Will this also fix the problems where addresses get broken in the removed/added
> columns as well? (we frequently get space separated addresses in lines because
> of the line breaks

Don't think so, but I did start looking into that, and I have an idea what's causing it. That's another bug, though.

Comment 3

7 years ago
D:\FIREBOT>patch -p0 < 538127
patching file BotModules/BugzillaMailHandler.pl
Hunk #1 succeeded at 242 (offset 1 line).

Feel free to test and let me know if it works :-)

Comment 4

7 years ago
536854::::Thunderbird::::General::::::::reed@reedloden.com::::rd3.0 rd3.0::::---::::?::::reed@reedloden.com changed the rd3.0 rd3.0 on bug 536854 from --- to ?.
536854::::Thunderbird::::General::::::::reed@reedloden.com::::CC::::::::reed@reedloden.com::::reed@reedloden.com added reed@reedloden.com to the CC field on bug 536854.
536854::::Thunderbird::::General::::::::reed@reedloden.com::::3.0 3.0::::---::::unaffected::::reed@reedloden.com changed the 3.0 3.0 on bug 536854 from --- to unaffected.

it doesn't seem to work too well...

Comment 5

7 years ago
Created attachment 420949 [details]
Bugmail used to test the patch...

Updated

7 years ago
Attachment #420299 - Flags: review?(bugtrap) → review-
You need to log in before you can comment on or make changes to this bug.