Closed
Bug 99339
Opened 25 years ago
Closed 17 years ago
"assigned_to was not defined" - Problem with the column " in component names
Categories
(Bugzilla :: Creating/Changing Bugs, defect, P2)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Leufkes, Unassigned)
Details
There is a problem when creating component names with the column " on my BZ
installation (Windows !).
The Component is created correctly, but when you try to add a bug to this
component, the error "assigned_to was not defined" is displayed.
Then I changed the columns from " to ' in the component name, and the bug was
added correctly to the DB.
Perhaps this is only a specific Windows problem (can´t try under Unix).
I think it´s a good idea to check the component names against forbidden
characters when edited.
Comment 1•25 years ago
|
||
IIRC only spaces and commas are forbidden in pretty much everything, although we
have been slack about escaping things properly.
Priority: -- → P2
Summary: "assigned_to was not defined" - Problem with the column " in component names → "assigned_to was not defined" - Problem with the column " in component names
Target Milestone: --- → Bugzilla 2.16
| Reporter | ||
Comment 2•25 years ago
|
||
Well, under Windows there is definitly the problem when using a " in the
component name.
Even when it contains a ' there is a problem, when reaching the query-page.
I have taken a look to the html-source that is generated by the query.cgi.
For each of the components that we created, a line is added like:
cpts['componentname']= new Array();
And IMHO you get in trouble if your componentname contains colums like ' or ].
When it contains a " , you get the error decribed in my previous comment.
Comment 3•25 years ago
|
||
I'm not saying it isn't a bug.
The problem on query.cgi for ', is I believe, fixed in CVS.
Kiko, what's the story for all parts of this bug?
Comment 4•25 years ago
|
||
In bug 38694 (which I hope you won't ignore further, since I need input
on it) I do a change that fixes this sort of problem by using numbered
instead of string indexing into the array. It doesn't prevent the rest
of bugzilla from falling apart, which brings me to say, I think we
should block special characters from product names. At the very least ",
' and &, but possibly entities as well.
Comment 5•25 years ago
|
||
I understand some installations would not be using these because they're broken,
however I'm wary of removing the feature in general because some installations
are likely using the parts that work. In particular ' and & are quite useful in
normal English.
AIUI templatisation is going to make this easier.
Comment 6•25 years ago
|
||
How exactly? The problem I have with & is that it gets entitized into
"&" in the Javascript, but when put into the SELECT control, the
entity is lost and the .value property shows "&". So I can't compare one
with the other. I don't know what to do about that.
Comment 7•24 years ago
|
||
We are currently trying to wrap up Bugzilla 2.16. We are now close enough to
release time that anything that wasn't already ranked at P1 isn't going to make
the cut. Thus this is being retargetted at 2.18. If you strongly disagree with
this retargetting, please comment, however, be aware that we only have about 2
weeks left to review and test anything at this point, and we intend to devote
this time to the remaining bugs that were designated as release blockers.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
Comment 8•22 years ago
|
||
Unloved bugs targetted for 2.18 but untouched since 9-15-2003 are being
retargeted to 2.20
If you plan to act on one immediately, go ahead and pull it back to 2.18.
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
Comment 9•21 years ago
|
||
This bug has not been touched by its owner in over six months, even though it is
targeted to 2.20, for which the freeze is 10 days away. Unsetting the target
milestone, on the assumption that nobody is actually working on it or has any
plans to soon.
If you are the owner, and you plan to work on the bug, please give it a real
target milestone. If you are the owner, and you do *not* plan to work on it,
please reassign it to nobody@bugzilla.org or a .bugs component owner. If you are
*anybody*, and you get this comment, and *you* plan to work on the bug, please
reassign it to yourself if you have the ability.
Target Milestone: Bugzilla 2.20 → ---
Updated•20 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Updated•19 years ago
|
Assignee: myk → create-and-change
Comment 10•17 years ago
|
||
I cannot reproduce in Bugzilla 3.5, probably because we fixed all filtering problems some time ago. Now all characters are correctly escaped.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•