Skip to main content

Bug Tracker

Side navigation

#9881 closed enhancement (wontfix)

Opened July 21, 2011 04:19PM UTC

Closed July 21, 2011 05:52PM UTC

Last modified July 21, 2011 08:47PM UTC

Capitalize error message

Reported by: anonymous Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

I'm sorry for nitpicking, but since all but one error messages have their first letter capitalized, it might be a good idea to capitalize the following error message too.

type property can't be changed

inside jQuery.attrHooks.type.set.

Attachments (0)
Change History (6)

Changed July 21, 2011 05:52PM UTC by timmywil comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → wontfix
status: newclosed

I think it is a logical choice to leave type lowercase because it is an attribute name.

Changed July 21, 2011 06:57PM UTC by anonymous comment:2

In the error message it is a property.

Changed July 21, 2011 08:20PM UTC by rwaldron comment:3

In the error message it is a property.

In which case timmywil's argument still stands

Changed July 21, 2011 08:24PM UTC by ajpiano comment:4

We could use this as an excuse to improve the exception and make it clear to users, perhaps...

"The 'type' property of an input element can't be changed"

(ps I meant to post this two hours ago, forgot to press submit)

Changed July 21, 2011 08:32PM UTC by timmywil comment:5

It's both actually. I'm ok with making the error message clearer. Seems pretty clear to me tho.

Changed July 21, 2011 08:47PM UTC by rwaldron comment:6

@timmywil I'm not ok with changing it to be _wrong_, the message should be reworded, if anything