Bug 1481661 - ISE 500 - add package to custom channel or compare packages
Summary: ISE 500 - add package to custom channel or compare packages
Keywords:
Status: CLOSED DUPLICATE of bug 1461898
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: spacewalk-review space27
TreeView+ depends on / blocked
 
Reported: 2017-08-15 11:47 UTC by Pavel Studeník
Modified: 2017-09-28 18:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-15 19:23:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Pavel Studeník 2017-08-15 11:47:52 UTC
Description of problem:
I received Internal Server Error when I tried to add pushed package to new custom channel. ISE I receive when I click link compare packages as well.

rhn/channels/manage/ChannelPackagesAdd.do?cid=<id>

Channels -> Software Channel Management -> [choose channel] -> Packages -> Add Packages / Compare

Version-Release number of selected component (if applicable):
spacewalk-java-2.7.110-1.fc26.noarch

How reproducible:
always

Steps to Reproduce:
1. create custom parent channel
2. pushed package
3. go to detail of channel and try to add package

Actual results:
ISE

Expected results:
without ISE

Additional info:

15-Aug-2017 07:39:09.219 SEVERE [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-6] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [action] in context with path [/rhn] threw exception
 javax.el.PropertyNotFoundException: Property 'parent' not found on type com.redhat.rhn.domain.channel.SelectableChannel
	at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:269)
	at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:221)
	at javax.el.BeanELResolver.property(BeanELResolver.java:356)
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:95)
	at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:110)
....
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
	at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:877)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Comment 1 Eric Herget 2017-08-15 17:31:19 UTC
This appears to have been caused by commit 4226dbbd01ff102a823fd3c00d90aa2d819daef3 on July 20.  Where channel_selector.jspf fragment was changed to do <c:if test="${option.parent}">, where, in the case of this error, the SelectableChannel.java code does not define a parent attribute.

Comment 2 Grant Gainey 2017-08-15 19:23:39 UTC
Fixed, comment and hash added under 1461898, which is the bug whose fix introduced the problem. I'm going to close this one as a dup.

*** This bug has been marked as a duplicate of bug 1461898 ***

Comment 3 Eric Herget 2017-09-28 18:06:52 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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