Bug 771214 - Internal Server Error 500 on cloning channel
Summary: Internal Server Error 500 on cloning channel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 1.6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space17
TreeView+ depends on / blocked
 
Reported: 2012-01-02 14:39 UTC by daniel.schindler
Modified: 2013-06-25 08:44 UTC (History)
4 users (show)

Fixed In Version: spacewalk-web-1.7.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-23 08:23:11 UTC
Embargoed:


Attachments (Terms of Use)
Error message (1.20 KB, text/plain)
2012-01-02 14:39 UTC, daniel.schindler
no flags Details

Description daniel.schindler 2012-01-02 14:39:36 UTC
Created attachment 550261 [details]
Error message

Description of problem:
When trying to clone a software channel I receive an internal server error 500.
Error occured after upgrade from 1.5 to 1.6. Seems that RadiobuttonGroup is missing in released ChannelEditor.pm.

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


How reproducible:
Navigate to Channels - Manage Software Channels and try to clone channels


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Fixed it by adding

use RHN::Form::Widget::RadiobuttonGroup;

to /usr/lib/perl5/vendor_perl/5.8.8/Sniglets/ChannelEditor.pm


Expected results:


Additional info:

Comment 1 Tomas Lestach 2012-01-02 15:09:13 UTC
Daniel,

thank you, for the report and the patch!

spacewalk.git: a2e98e41acd13c116685996378de3714108bb7cc

Comment 2 Milan Zázrivec 2012-01-06 12:43:54 UTC
spacewalk.git SPACEWALK-1.6: cfd8a3c5e841167e19ae4deaad63167667878500

Comment 3 Jan Pazdziora 2012-03-07 09:53:49 UTC
Spacewalk 1.7 has been released:

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes17

Comment 4 Ade Bradshaw 2013-06-23 08:19:35 UTC
I just did a fresh install of 1.9 and I am seeing this exact error - the fix mentioned above is already there but it still give a 500 error and emails me a traceback

Let me know if there is anything else you need



The following exception occurred while executing this request:
 GET /network/software/channels/manage/clone.pxt?pxt:trap=rhn:empty_set&set_label=errata_clone_actions HTTP/1.1 (from browser)
 /network/software/channels/manage/clone.pxt (from Apache)

Date:
  Sun Jun 23 10:02:42 2013

Headers:
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Encoding: gzip, deflate
  Accept-Language: en-US,en;q=0.5
  Connection: keep-alive
  Cookie: pxt-session-cookie=19218x0c76901026423f08ec6db954506eafcf
  DNT: 1
  Host: spacewalk.cassiopia.net
  Referer: https://spacewalk.cassiopia.net/rhn/channels/manage/Manage.do
  User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0

Form variables:
  pxt:trap => rhn:empty_set
  set_label => errata_clone_actions

User Information:
  User satadmin (id 1, org_id 1)

Error notes:
  (none)

Initial Request:
  Yes

Error message:
  Can't locate object method "new" via package "RHN::Form::ParsedForm" (perhaps you forgot to load "RHN::Form::ParsedForm"?) at /usr/share/perl5/vendor_perl/Sniglets/ChannelEditor.pm line 386.

Comment 5 Ade Bradshaw 2013-06-23 08:23:11 UTC
ah, looks like its already reported https://bugzilla.redhat.com/show_bug.cgi?id=952767 

sorry for the confusion

Comment 6 Tomas Lestach 2013-06-25 08:44:18 UTC
Please, do not open already closed Bugs. Open new instead of.

Switching to CURRENTRELEASE according to Comment 3.


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