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
1a9927c0
Commit
1a9927c0
authored
Jun 01, 2009
by
ghendricks%novell.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 494628 - Crash when trying to file a bug in a closed product r=LpSolit…
Bug 494628 - Crash when trying to file a bug in a closed product r=LpSolit patch by ghendricks@novell.com
parent
c7093fe7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
User.pm
Bugzilla/User.pm
+1
-1
confirm-delete.html.tmpl
...late/en/default/admin/components/confirm-delete.html.tmpl
+2
-2
field.html.tmpl
template/en/default/bug/field.html.tmpl
+1
-1
No files found.
Bugzilla/User.pm
View file @
1a9927c0
...
...
@@ -728,7 +728,7 @@ sub can_enter_product {
ThrowUserError
(
'entry_access_denied'
,
{
product
=>
$product_name
});
}
# It could be closed for bug entry...
elsif
(
$product
->
disallow_new
)
{
elsif
(
!
$product
->
is_active
)
{
ThrowUserError
(
'product_disabled'
,
{
product
=>
$product
});
}
# It could have no components...
...
...
template/en/default/admin/components/confirm-delete.html.tmpl
View file @
1a9927c0
...
...
@@ -82,8 +82,8 @@ from '[% product.name FILTER html %]' product
</tr>
<tr>
<TD VALIGN="top">
Closed
for [% terms.bugs %]:</TD>
<TD VALIGN="top">[% IF product.
disallow_new
%]Yes[% ELSE %]No[% END %]</td>
<TD VALIGN="top">
Open
for [% terms.bugs %]:</TD>
<TD VALIGN="top">[% IF product.
is_active
%]Yes[% ELSE %]No[% END %]</td>
</tr>
<tr>
<td valign="top">[% terms.Bugs %]:</td>
...
...
template/en/default/bug/field.html.tmpl
View file @
1a9927c0
...
...
@@ -140,7 +140,7 @@
selected="selected"
[% ELSIF (control_field && control_value
&& !bug.${control_field.name}.contains(control_value.name))
|| (field.name == "product" &&
legal_value.disallow_new
)
|| (field.name == "product" &&
!legal_value.is_active
)
%]
class="bz_hidden_option" disabled="disabled"
[% END %]>
...
...
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