Closed Bug 497201 Opened 17 years ago Closed 16 years ago

E-mail address not optional for anonymous users AND the warning wipes all their text

Categories

(support.mozilla.org :: Forum, task, P1)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cww, Assigned: paulc)

References

Details

(Keywords: ue, Whiteboard: sumo_only)

Attachments

(1 file, 2 obsolete files)

STR: Go to http://support-stage.mozilla.org/tiki-view_forum.php?locale=en-US&forumId=1&openpost=1 Put in a question and a description Leave Name and Email empty Fill out the captcha Submit Get warning "Before you can send us your question, please enter valid information for the highlighted fields." indicating that a valid name and e-mail are necessary Expected results: Name and e-mail should be OPTIONAL.
FTR email isn't necessary. If you enter a name it works fine.
Attached patch patch v1 (obsolete) — Splinter Review
Couldn't help landing a patch for this, since I did that validation :)
Assignee: nobody → paul.craciunoiu
Attachment #382422 - Flags: review?(laura)
Target Milestone: --- → 1.3
Comment on attachment 382422 [details] [diff] [review] patch v1 Patch in bug 502862 will take care of this bug as well, since they overlap in code and this is a simple fix.
Attachment #382422 - Attachment is obsolete: true
Attachment #382422 - Flags: review?(laura)
Depends on: 502862
(In reply to comment #0) > Expected results: Name and e-mail should be OPTIONAL. Name should NOT be optional. E-mail should be optional. Paul, please also note the second part of this bug report: "the warning wipes all their text." When the form doesn't validate, the main body for the question is cleared. I can't even begin to imagine how frustrating this must be for the users who have hit this bug. :(
Severity: normal → major
Keywords: ue
OS: Linux → All
Priority: -- → P1
Hardware: x86 → All
Summary: Name and e-mail address not optional for anonymous users and the warning wipes all their text → E-mail address not optional for anonymous users and the warning wipes all their text
The warning also wipes the Extension textarea.
Summary: E-mail address not optional for anonymous users and the warning wipes all their text → E-mail address not optional for anonymous users AND the warning wipes all their text
if you enter an email and not a name, though, you get listed as Anonymous. I'd prefer that to forcing them to enter a name.
Sounds like the verdict is: (one OR the other) is required. And also not wiping their text :)
I still think that you should be able to be fully anonymous (enter neither). But yes, also not wiping text.
Attached patch patch, v2 (obsolete) — Splinter Review
We should really make this for 1.2.1
Attachment #388512 - Flags: review?(smirkingsisyphus)
Attachment #388512 - Flags: review?(laura)
Target Milestone: 1.3 → 1.2.1
Attached patch patch, v3Splinter Review
I apologize for spamming everyone. I was playing around with this and I missed the fields for browser + os... Hence, v3. We use a different template for Firefox forum vs Contributors forum and that caused some problems too, and really got me confused at first. The patch above takes care of both this and bug 502862. I figured I'll attach the patch here since this is the bug that holds most of the discussion relevant to what the patch does. Because bug 502862 relates to max-length of user field and this one is about making user + email optional, they overlap in code, and as such I've filed one patch for both. I hope this won't be a problem, as the code changes for bug 502862 are much fewer. What this patch does: * makes sure the fields on both Firefox and Contributors forums persist both through "Preview" and "Post" if certain information is invalid * makes name and user optional for logged out users * takes care of bug 502862 (adds a maxlength to the username field)
Attachment #388516 - Flags: review?(smirkingsisyphus)
Attachment #388516 - Flags: review?(laura)
Attachment #388512 - Attachment is obsolete: true
Attachment #388512 - Flags: review?(smirkingsisyphus)
Attachment #388512 - Flags: review?(laura)
Blocks: 502862
No longer depends on: 502862
Blocks: 493069
* takes care of bug 493069 (adds highlighting for contributors forum fields on invalid submission)
(In reply to comment #8) > I still think that you should be able to be fully anonymous (enter neither). > But yes, also not wiping text. That's fine with me. The important thing here is that the e-mail is optional, but on second thought I don't really have a good reason for why we would _require_ a name if it defaults to anonymous. So, the verdict is really "neither name nor email should be required". Paul, sounds like that was what your patch is doing too - correct?
My vote: require a name. Particularly if anonymous users can reply to existing threads. A common issue with forums that allow anonymous posting is that you get no-one filling in that field, so when two or more anonymous users post in the same thread, they are identified with the same alias.
We have Anonymous posting right now (name is not required). Let's leave the bug as is and open a new one for requiring it. (This bug is more for the fact that the message is deceptive and results in dataloss.) djst and I discussed this and it makes the most sense to take this patch so it can make the next sumo push and delay any decision on the Anonymous posting to forumUX.
Attachment #388516 - Flags: review?(laura) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
What happened to the "Firefox user" text?
(In reply to comment #17) > What happened to the "Firefox user" text? Where do you see that specified in this bug? Or, is that pre-existing text? (If the latter, I'll try to remember for next time.)
unregistered posters to the Firefox forum on prod get a Firefox user text under their name.
(In reply to comment #19) > unregistered posters to the Firefox forum on prod get a Firefox user text under > their name. And they still do for me, on http://support-stage.mozilla.org/tiki-view_forum_thread.php?comments_parentId=374569&forumId=1 and http://support-stage.mozilla.org/tiki-view_forum.php?forumId=1. Can you file a bug with what you're seeing? Thanks!
Attachment #388516 - Flags: review?(smirkingsisyphus)
Whiteboard: sumo_only
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: