Bug 461066
Summary: | Lots of warnings when used with strict and -w | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Penelope Fudd <bugzilla.redhat.com> | ||||||
Component: | perl-QWizard | Assignee: | Wes Hardaker <wjhns174> | ||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 8 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-10-16 02:04:57 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 315700 [details]
Proposed patch
This adds checks for undefined values, but I don't have in-depth knowledge of this code, so it could be causing other problems.
The final error occurs when you quit: (in cleanup) FATAL PROBLEM: Your widget generator "QWizard::Generator::Gtk2" doesn't support the "DESTROY" function at /usr/lib/perl5/vendor_perl/5.8.8/QWizard/Generator.pm line 562 during global destruction. perl-QWizard-3.15-1.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/perl-QWizard-3.15-1.fc8 perl-QWizard-3.15-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update perl-QWizard'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-8196 perl-QWizard-3.15-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 315699 [details] Test code Description of problem: Running the example code from the Qwizard man page causes numerous warnings of operations with undefined variables. Version-Release number of selected component (if applicable): perl-QWizard-3.14-1.fc8 How reproducible: Every time Steps to Reproduce: 1. man perl::QWizard | col -b > testit.pl 2. Remove everything but the example at the top 3. Put "#!/usr/bin/perl -w\nuse strict;" at the top 4. Run it Actual results: 2 pages of warnings, but it works Expected results: No warnings, and it works Additional info: I've patched all but one error, but haven't done extensive testing.