Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
9398153e
Commit
9398153e
authored
Feb 05, 2009
by
ghendricks%novell.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 476678 - Rich clients unable to update bugs need security token included in bug xml
patch by ghendricks@novell.com r=LpSolit a=LpSolit
parent
7d01cb03
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
importxml.pl
importxml.pl
+5
-0
show_bug.cgi
show_bug.cgi
+1
-1
show.xml.tmpl
template/en/default/bug/show.xml.tmpl
+5
-0
No files found.
importxml.pl
View file @
9398153e
...
...
@@ -470,6 +470,11 @@ sub process_bug {
# append it to the log, which will go into the comments when we are done.
foreach
my
$bugchild
(
$bug
->
children
()
)
{
Debug
(
"Parsing field: "
.
$bugchild
->
name
,
DEBUG_LEVEL
);
# Skip the token if one is included. We don't want it included in
# the comments, and it is not used by the importer.
next
if
$bugchild
->
name
eq
'token'
;
if
(
defined
$all_fields
{
$bugchild
->
name
}
)
{
my
@values
=
$bug
->
children_text
(
$bugchild
->
name
);
if
(
scalar
@values
>
1
)
{
...
...
show_bug.cgi
View file @
9398153e
...
...
@@ -117,7 +117,7 @@ $vars->{'bug_list'} = \@bug_list;
# on the exclusion list. This is so you can say e.g. "Everything except
# attachments" without listing almost all the fields.
my
@fieldlist
=
(
Bugzilla::
Bug
->
fields
,
'group'
,
'long_desc'
,
'attachment'
,
'attachmentdata'
);
'attachment'
,
'attachmentdata'
,
'token'
);
my
%
displayfields
;
if
(
$cgi
->
param
(
"field"
))
{
...
...
template/en/default/bug/show.xml.tmpl
View file @
9398153e
...
...
@@ -48,6 +48,11 @@
[% END %]
[% END %]
[%# This is here so automated clients can still use process_bug.cgi %]
[% IF displayfields.token && user.id %]
<token>[% issue_hash_token([bug.id, bug.delta_ts]) FILTER xml %]</token>
[% END %]
[%# Now handle 'special' fields #%]
[% IF displayfields.group %]
[% FOREACH g = bug.groups %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment