Bug 412876 - Invalid Preferences at startup
Summary: Invalid Preferences at startup
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: 0.20   Edit
Assignee: Francois Chouinard CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2013-07-12 13:57 EDT by Francois Chouinard CLA
Modified: 2013-07-16 14:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chouinard CLA 2013-07-12 13:57:18 EDT
Removing a Review Group from the Preferences view starts OK (review group is removed from the list).

However, when trying to apply ("Apply" or "OK" button) generates an error if no valid user e-mail was previously defined:

R4E Error
Invalid format for Participant Email
Reason: is invalid

It looks like the initial Preferences are invalid at startup. Maybe the user should have to fill proper values *before* being allowed to perform other operations.
Comment 1 Francois Chouinard CLA 2013-07-15 16:17:49 EDT
The minimal set of Preferences to get started are: userid + e-mail. The userid is already pre-set with the user login id while the e-mail is left blank.

One easy solution would be to pre-populate the e-mail with "userid@localhost" or something similar (e.g. "userid@<hostname>").
Comment 2 Francois Chouinard CLA 2013-07-16 14:10:11 EDT
Added a default e-mail if none configured.

Fixed in commit df626fe617137b886d7c7cbdf20ac5f6e8b0d3a1.