Closed
Bug 198571
Opened 23 years ago
Closed 20 years ago
importxml uses hardcoded default priority "P3"
Categories
(Bugzilla :: Bug Import/Export & Moving, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: sgbugz, Assigned: gregaryh)
References
Details
(Whiteboard: blocker will fix)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
When the list of priorities is modified in localconfig, and a bug is
imported with an unsupported priority, then the priority 'P3' is assigned in
importxml.pl (line 419). This results in a bug with an invalid priority.
Reproducible: Always
Steps to Reproduce:
1. Install a fresh copy of bugzilla
2. Modify the list of priorities in localconfig (and run checksetup)
3. import a bug with an invalid priority
Actual Results:
sanity check produces a red line like:
Bug(s) found with invalid priority value
Expected Results:
importxml should not insert a bug with invalid priority.
| Reporter | ||
Updated•23 years ago
|
Version: unspecified → 2.16.2
| Reporter | ||
Comment 1•23 years ago
|
||
*** Bug 198569 has been marked as a duplicate of this bug. ***
Comment 2•23 years ago
|
||
Probably what it needs to do is look up the default priority and use that instead.
Assignee: myk → justdave
Status: UNCONFIRMED → NEW
Component: Creating/Changing Bugs → Bugzilla-General
Ever confirmed: true
Updated•23 years ago
|
Component: Bugzilla-General → Bug Import/Export & Moving
Comment 3•21 years ago
|
||
I cannot reproduce in 2.19.1.
I have just imported 300 bugs from an XML file I generated externally which had
a <priority> tag in the XML for each bug, and each was imported with its correct
priority.
Updated•21 years ago
|
Assignee: justdave → ghendricks
| Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Whiteboard: blocker will fix
| Assignee | ||
Comment 4•21 years ago
|
||
This is only the case if the priority that comes over from the move.pl is not in
the list of priorities for the importing installation.
I have changed it to use the defaultpriority parameter instead of the P3.
Comment 5•20 years ago
|
||
fixed by bug 285614
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.22
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•