Closed Bug 543113 Opened 14 years ago Closed 13 years ago

Phonebook manager field loses the manager when you edit

Categories

(Webtools Graveyard :: Phonebook, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kourge, Assigned: jfong)

References

Details

Attachments

(1 file)

Currently, when editing your manager in the Phonebook, the field is implemented as a textbox with autocomplete. This is nice, but...
1. After saving and editing again, the manager field is blank. This way, one cannot tell if they've set their manager or not.
2. If you enter a person that does not exist at all, no warnings are shown and the manager field remains unmodified. Warnings should be shown for clarity.
Component: Webdev → Phonebook
Product: mozilla.org → Webtools
QA Contact: webdev → phonebook
This bug has been fixed in the rewritten phonebook, so it no longer applies.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
This doesn't appear to be fixed, actually.

I'm not sure if it was at one point fixed & has broken again, or if comment 1 was just incorrect.  But the description in Comment 0 appears to apply exactly right now. (manager field always shows up as blank on pageload, and it accepts invalid values)

Hence, reopening.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Assignee: kourge → nobody
Jennifer, can you take a look? Thanks!
Assignee: nobody → jfong
bumping severity, this is causing dataloss because it clears the manager if you don't put it back before saving the user.
Severity: trivial → major
Summary: Phonebook manager field should be improved → Phonebook manager field loses the manager when you edit
(In reply to Dave Miller [:justdave] from comment #4)
> bumping severity, this is causing dataloss because it clears the manager if
> you don't put it back before saving the user.

I cannot reproduce that: If you don't touch the field at all, it won't clear your manager.
Comment on attachment 564356 [details]
Proposed fix for displaying the manager name in the input field during profile edit.

r+ for this part of the patch, because it does show the manager now. Good job!

Only problem now is that I can't change my manager anymore. When I click the field (that should probably select the entire text on click), and I enter, say "Wil", I get a dropdown list mentioning people with that name. Then I click on one, but it fills in a completely different person.

Any idea what broke there?
Attachment #564356 - Flags: review?(fwenzel) → review-
I think it was browser caching possibly - works for me.
Comment on attachment 564356 [details]
Proposed fix for displaying the manager name in the input field during profile edit.

Yes, seems to have been a caching issue. I can't reproduce this anymore.

Jen, once you have SVN access, please land this. You want to mention this bug number in your commit message, and then refer to the commit number here (pro tip: r1234 will auto-link to that commit on SVN).
Attachment #564356 - Flags: review- → review+
Jen, looks like you should have commit access now. Will you try committing this? Make sure to update from SVN before you do that, as I committed a few things for other bugs to the phonebook so you might need to merge that.
Depends on: 691565
Fix committed r95868
Woot!
Status: REOPENED → RESOLVED
Closed: 14 years ago13 years ago
Resolution: --- → FIXED
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: