Bug 1003712 - [Regression] Bugzilla/Template.pm uses regex pattern that is not valid before perl 5.10
Summary: [Regression] Bugzilla/Template.pm uses regex pattern that is not valid before...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: User Interface
Version: 4.4
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: 4.4
Assignee: Simon Green
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-03 01:13 UTC by Jason McDonald
Modified: 2018-12-09 06:29 UTC (History)
2 users (show)

Fixed In Version: 4.4.0007
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-06 04:14:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Jason McDonald 2013-09-03 01:13:23 UTC
Description of problem:
The fix for Bug 919040 (backported from upstream) used the \h regex pattern, which was new in Perl 5.10.  The production servers are still using Perl 5.8.

Version-Release number of selected component (if applicable):
4.4.0007 (which was not deployed due to this bug).

How reproducible:
Always

Steps to Reproduce:
root@host bugzilla]# su apache -s /bin/bash -c ./rh-create-templates.pl
Unrecognized escape \h passed through at Bugzilla/Template.pm line 164.
Removing existing compiled templates...
Precompiling templates...done.
[root@host bugzilla]# service bugzilla-queue restart
Killing bugzilla-queue: [ OK ]
Starting bugzilla-queue: Unrecognized escape \h passed through at
Bugzilla/Template.pm line 164.

Actual results:
Perl error due to \h

Expected results:
No error.

Additional info:
none.

Comment 3 Simon Green 2013-09-06 00:03:15 UTC
This was backported to sprint7

Comment 4 Simon Green 2013-09-06 04:14:53 UTC
This change is now live. If there are any issues, do not reopen this bug.
Instead, you should create a new bug and reference this bug.

  -- simon


Note You need to log in before you can comment on or make changes to this bug.