Closed Bug 538127 Opened 15 years ago Closed 5 years ago

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

Categories

(Webtools Graveyard :: Mozbot, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: reed, Assigned: reed)

Details

Attachments

(2 files)

Attached patch patch - v1Splinter Review
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)
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
(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.
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 :-)
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...
Attachment #420299 - Flags: review?(bugtrap) → review-

Mozbot/Firebot is in maintenance-only mode; no further changes are planned.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: