[Bug 756108] New: Use of uninitialized value $root in exists at .../Role/NestedHashUtils.pm line 121.

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 22 17:24:57 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Use of uninitialized value $root in exists at .../Role/NestedHashUtils.pm line 121.

https://bugzilla.redhat.com/show_bug.cgi?id=756108

           Summary: Use of uninitialized value $root in exists at
                    .../Role/NestedHashUtils.pm line 121.
           Product: Fedora
           Version: 16
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-HTML-FormFu
        AssignedTo: iarnell at gmail.com
        ReportedBy: dgp-bz at corefiling.co.uk
         QAContact: extras-qa at fedoraproject.org
                CC: iarnell at gmail.com, fedora-perl-devel-list at redhat.com
    Classification: Fedora
      Story Points: ---
              Type: ---


Created attachment 535130
  --> https://bugzilla.redhat.com/attachment.cgi?id=535130
Stop warning in HTML::FormFu::Role::NestedHashUtils

Description of problem:
Submitting a form containing a Label element generates the follow warning:
"Use of uninitialized value $root in exists at
/usr/share/perl5/vendor_perl/HTML/FormFu/Role/NestedHashUtils.pm line 121."

Version-Release number of selected component (if applicable):
0.09003

How reproducible:
Always

Steps to Reproduce:
1. Create a form containing a Label and Submit elements
Sample YAML:
elements:
  - type: Label
    label: foo
  - type: Submit
    name: submit
2. Hit Submit

Actual results:
"Use of uninitialized value $root in exists at
/usr/share/perl5/vendor_perl/HTML/FormFu/Role/NestedHashUtils.pm line 121."
printed to console

Expected results:
No warnings to the console

Additional info:
Developing with Catalyst.
Attaching a simple patch to stop the noise.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list