[request-tracker-maintainers] Bug#649720: request-tracker3.8: rt-dump-database spits out perl code before dump's XML

Olivier Berger olivier.berger at it-sudparis.eu
Wed Nov 23 13:27:56 UTC 2011


Source: request-tracker3.8
Version: 3.8.8-7+squeeze1
Severity: normal

Hi.

I tried :
# rt-dump-database 2>/dev/null

and get :
no strict; use XML::Simple; *_ = XMLin(do { local $/; readline(DATA) }, ForceArray => [qw(
 Users Groups Queues ScripActions ScripConditions Templates Scrips ACL CustomFields Values
)], NoAttr => 1, SuppressEmpty => ''); *$_ = ($_{$_} || []) for keys %_; 1; # vim: ft=xml
__DATA__
<?xml version="1.0" encoding="UTF-8"?>
<InitialData>
  <CustomFields>
    <Description>Corps de l'article</Description>
    <LookupType>RT::FM::Class-RT::FM::Article</LookupType>
    <MaxValues>1</MaxValues>
    <Name>Body</Name>
    <Pattern>(?#Mandatory).</Pattern>
    <Repeated>0</Repeated>
    <SortOrder>0</SortOrder>
    <Type>Wikitext</Type>
  </CustomFields>

The first lines aren't XML, so I guess there's something wrong happening.

Hope this helps.

Best regards,

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-request-tracker-maintainers mailing list