Bug 1225448
| Summary: | Unable to add package type to content source | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Libor Zoubek <lzoubek> |
| Component: | Content | Assignee: | Libor Zoubek <lzoubek> |
| Status: | CLOSED ERRATA | QA Contact: | Matt Mahoney <mmahoney> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.3.2 | CC: | fbrychta, miburman, mmahoney, theute |
| Target Milestone: | ER01 | Keywords: | Triaged |
| Target Release: | JON 3.3.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-30 16:43:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This can safely go to 3.3.3, fix was easy (to write). branch: master link: https://github.com/rhq-project/rhq/commit/a68f88fb5 time: 2015-05-27 14:03:55 +0200 commit: a68f88fb586afb193c4391b6d92656a2037ea8ce author: Libor Zoubek - lzoubek message: Bug 1225448 - Unable to add package type to content source Fix form action URI typo Cherry-picked to release/jon3.3.x:
commit 4d7c92dee215325170154ebcbd04fbee4b3d6ab0
Author: Libor Zoubek <lzoubek>
Date: Wed May 27 14:03:55 2015 +0200
Bug 1225448 - Unable to add package type to content source
Fix form action URI typo
(cherry picked from commit a68f88fb586afb193c4391b6d92656a2037ea8ce)
Available for test with 3.3.3 ER01 build: https://brewweb.devel.redhat.com/buildinfo?buildID=446732 *Note: jon-server-patch-3.3.0.GA.zip maps to ER01 build of jon-server-3.3.0.GA-update-03.zip. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1525.html |
Description of problem: When I try to add new Package Type to content source, UI renders some CSS file as plaintext. An exception is fired 10:00:28,447 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/portal].[Faces Servlet]] (http-/0.0.0.0:7080-2) JBWEB000236: Servlet.service() for servlet Faces Servlet threw exception: javax.faces.application.ViewExpiredException: viewId:/rhq/content/createContentProvider-add-map-plain.xhtml - View /rhq/content/createContentProvider-add-map-plain.xhtml could not be restored. at com.sun.faces.lifecycle.RestoreViewPhase.execute(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8] at com.sun.faces.lifecycle.Phase.doPhase(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8] at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8] at com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source) [jsf-impl-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8] at javax.faces.webapp.FacesServlet.service(Unknown Source) [jsf-api-1.2_15-b01-redhat-8.jar:1.2_15-b01-redhat-8] Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. create content source, save it 2. open content source, click "Edit" 3. in edit mode, see "Package Types" and click "Add" 4. fill all required fields (values are not relevant for this issue) 5. hit OK Actual results: UI renders some CSS crap instead of returning back to content source, the package type is added, but values are empty. Expected results: new PackageType is added, no exception Additional info: