summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Filesystem.pm1
-rw-r--r--Bugzilla/Product.pm11
-rw-r--r--Bugzilla/Template.pm2
-rw-r--r--Bugzilla/WebService/Constants.pm1
4 files changed, 2 insertions, 13 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index eb750254b..08b824cad 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -117,6 +117,7 @@ sub HTTPD_ENV_CONF {
sub _error_page {
my ($code, $title, $description) = @_;
+ warn "urlbase: ", Bugzilla->urlbase, "\n";
my $host = Bugzilla->urlbase->host;
return <<EOT;
diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm
index c4c147a63..3ac1692f0 100644
--- a/Bugzilla/Product.pm
+++ b/Bugzilla/Product.pm
@@ -64,7 +64,6 @@ use constant VALIDATORS => {
description => \&_check_description,
version => \&_check_version,
defaultmilestone => \&_check_default_milestone,
- security_group_id => \&_check_security_group_id,
isactive => \&Bugzilla::Object::check_boolean,
create_series => \&Bugzilla::Object::check_boolean
};
@@ -390,16 +389,6 @@ sub _check_version {
return $version;
}
-sub _check_security_group_id {
- my ($invocant, $id) = @_;
-
- $id = trim($id);
-
- ThrowUserError('product_must_have_security_group') unless $id;
-
- return $id;
-}
-
sub _check_default_milestone {
my ($invocant, $milestone) = @_;
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 31c68bbed..2ec813303 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -570,7 +570,7 @@ sub create {
# if a packager has modified bz_locations() to contain absolute
# paths.
ABSOLUTE => 1,
- RELATIVE => 0,
+ RELATIVE => 1,
COMPILE_DIR => bz_locations()->{'template_cache'},
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index e43918a43..93fddfc2b 100644
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -184,7 +184,6 @@ use constant WS_ERROR_CODE => {
product_must_have_description => 703,
product_must_have_version => 704,
product_must_define_defaultmilestone => 705,
- product_must_have_security_group => 706,
# Group errors are 800-900
empty_group_name => 800,