Hide Forgot
Description of problem: I've found an entry within the bugzilla database where the external tracker id has trailing spaces: $VAR1 = { 'bug_id' => '659152', 'ext_bz_bug_id' => '00031875 ', 'ext_bz_id' => '60', 'ext_description' => 'None', 'ext_last_updated' => undef, 'ext_status' => 'None', 'id' => '31776' }; I haven't tried to reproduce the problem and I'm not entirely sure whether the entry was made via the UI or via xmlrpc, but neither the UI nor the xmlrpc should write trailing spaces to the database.
in the cases I investigated, the input was from the BZ UI, I haven't tested the SFDC UI path so no assertion about it handles it
How do you know the input was from the BZ UI? Did you contact the person who made the change?
looking at the history log for the bug
Hmm, while I don't doubt it could well have been done via the BZ UI, I'm a little puzzled as to how this can be determined from looking at the history alone. Am I somehow missing something, and we can tell how an entry was made, not just by whom?
Ah, I saw some entries which came from the xml-rpc user, and some from the user, which I falsely assumed meant it was the UI.
This has been fixed, and will be part of the Bugzilla 4.2.1-2 release, scheduled for the end of May. As of this message, there are 31 external tracking bugs have leading or trailing spaces. These will be automatically fixed when this change goes live. -- simon
This change is now live. -- simon