Bug 559015 - Channel -> Target Systems ISE's on submit
Summary: Channel -> Target Systems ISE's on submit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 530
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Šimon Lukašík
URL:
Whiteboard:
Depends On:
Blocks: sat531-triage
TreeView+ depends on / blocked
 
Reported: 2010-01-26 22:00 UTC by Justin Sherrill
Modified: 2018-11-14 17:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-18 08:29:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0897 0 normal SHIPPED_LIVE Red Hat Network Satellite bug fix update 2010-11-18 08:27:31 UTC

Description Justin Sherrill 2010-01-26 22:00:58 UTC
1.  Go to Channels
2.  Go to a child channel
3.  Click target systems
4.  select one or more systems
5.  submit


Result:

ISE



The following exception occurred while executing this request:
 POST /network/software/channels/subscribe_confirm.pxt HTTP/1.1 (from browser)
 /network/software/channels/subscribe_confirm.pxt (from Apache)

Date:
  Tue Jan 26 16:42:18 2010

Headers:
  Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
  Accept-Encoding: gzip,deflate
  Accept-Language: en-US,en;q=0.8
  Cache-Control: max-age=0
  Connection: keep-alive
  Content-Length: 424
  Content-Type: application/x-www-form-urlencoded
  Cookie: rh_omni_tc=70160000000H4AoAAK; s_vi=[CS]v1|258FF45E051D26CD-6000012F80011637[CE]; rh_shared_auth=853cc4631a145cc3ee10e99806d34522f946f410e4f1e00846f179a2fc4b87df5c2f90d4ff5a7b91b3f28b324537638e2d6e18c56622c4291da0a489fb05de2673744e5e94a9cb27dac74b5b13c254d446ef76192932c7d92816b36015a51652; rh_sso=0|kfc7L9QaT3aGjdqxQnOsCWRI6JNkbRbhHsm; rh_user=rhn-support-jsherril|Justin|customer|; s_cc=true; s_sq=redhatglobal%2Credhatcom%3D%2526pid%253Dhttp%25253A//www.redhat.com/docs/manuals/satellite/%2526oid%253Dhttp%25253A//www.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/Release_Notes/html/index.html%2526ot%253DA; pxt-session-cookie=83600x1bf67d29d900df7b974fd9d0a959cb66
  Host: SNIP
  Origin: https://SNIP
  Referer: https://SNIP/network/software/channels/subscribe_confirm.pxt?set_label=target_systems_for_channel&cdc=1&cid=703
  User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.30 Safari/532.5

Form variables:
  alphabar_column => 
  cid => 703
  first_lower => 1
  first_upper => 100
  formvars => set_label
  formvars => set_label
  formvars => set_label
  last_lower => 1
  last_upper => 2
  list_action_label_confirm_channel_subscribe => Confirm
  list_action_url_confirm_channel_subscribe => /rhn/channels/ChannelDetail.do
  list_mode => in_set
  lower => 1
  next_lower => 1
  next_upper => 2
  prev_lower => 1
  prev_upper => 100
  pxt:trap => rhn:system_list_cb
  set_label => target_systems_for_channel
  upper => 2

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

Error notes:
  (none)

Initial Request:
  Yes

Error message:
  Can't call method "commit" on an undefined value at /var/www/lib/Sniglets/ListView/SystemList.pm line 1093.

Comment 1 Sandro Mathys 2010-01-26 22:15:14 UTC
I can easily reproduce this in spacewalk 0.6 and 0.7 and satellite 5.3.0

The traceback looks really the same as Justin's except for the Error message which shows another path (but seems to be the same otherwise):

Can't call method "commit" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Sniglets/ListView/SystemList.pm line 1093.

Comment 2 Justin Sherrill 2010-02-02 21:12:59 UTC
f4638e8ba5e03a42527a9e82e61aef2580461f2c

Went ahead and converted this to java.  Wasn't too hard.

Comment 3 Justin Sherrill 2010-02-02 21:15:38 UTC
should be backportable to 5.3 if needed.

Comment 5 Justin Sherrill 2010-07-14 22:10:47 UTC
Looks like the commit has was wrong, the correct one is:

360e91bbb2ae9a3b52ac768e2b01193f55dd8bf4

 (rebase may have borked the old one).

Comment 6 Šimon Lukašík 2010-08-19 20:21:51 UTC
Changing to VERIFIED with reproducer from comment 0

Verified against:
noarch/spacewalk-taskomatic-0.5.44-86
spacewalk-java-0.5.44-86
spacewalk-java-config-0.5.44-86
spacewalk-java-lib-0.5.44-86

On Sat530 on rhel5, i386 & x86_64.

Comment 8 errata-xmlrpc 2010-11-18 08:29:22 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0897.html


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