Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Correct empty manual pin board bugs (1045774) #113

Merged
merged 1 commit into from Jul 31, 2014

Conversation

tojon
Copy link

@tojon tojon commented Jul 31, 2014

This work fixes Bugzilla bug 1045774 and replicates previous PR110.

As described in the bug, when creating bugs sequentially by clicking the little "+" icon on the pin board and manually typing/pasting their values - the 2nd-to-N-th bugs after hitting enter, all have empty UI. It appears that newEnteredBugNumber was being set to null after its first pass (which perhaps explains why the 1st attempt worked).

Here is the appearance before and after the fix, using two bug numbers, "123" and "456":

currentbehavior
correctbehavior

Looking at the repo, it appears the fix is limited to just this file. But as a newbie I don't know if I am missing anything else in the implications of the change. I have tested the UI pretty extensively with the change, manual bug entry, pasted bug entry, regular bug pinning, removals, illegal characters, etc.

@camd asked on IRC if the input field caches the last entered bug number, and it does (whether or not that is desired). But that behavior is true in the repo and on dev/stage/prod, and that behavior is independent of this fix.

Tested on Windows:
FF Release 31.0
Chrome Latest Release 36.0.1985.125 m

Adding @jeads and @camd for visibility.

camd pushed a commit that referenced this pull request Jul 31, 2014
Correct empty manual pin board bugs (1045774)
@camd camd merged commit 77f7067 into mozilla:master Jul 31, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants