Bug 869348
Summary: | Seam2.3 blog example atom feed not working and JBDS import errors | ||
---|---|---|---|
Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Marek Schmidt <maschmid> |
Component: | Examples | Assignee: | Marek Novotny <mnovotny> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Marek Schmidt <maschmid> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.1.0 | CC: | bsutter, irooskov, myarboro, rruss, tremes, vdedik |
Target Milestone: | CR1 | ||
Target Release: | 2.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Seam2.3 seam-example | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
The atom feed blog example distributed with JBoss Web Framework Kit for Seam 2.3 did not work correctly. The example has been corrected for this release by updating the web.xml file with a new definition for javax.faces.FACELETS_VIEW_MAPPINGS and modifying the example content type.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-30 15:34:52 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: |
Description
Marek Schmidt
2012-10-23 16:05:45 UTC
What JBDS errors are you referring? I can see only: cvc-elt.1: Cannot find the declaration of element 'f:view'. Is that what you see too? I can see also something like: (in both JBDS 6.0.0.Beta1 and 5.0.1) Referenced file contains errors (file:/home/maschmid/jbdevstudio-6.0.0.Beta1/studio/plugins/org.jboss.tools.jst.web.kb_3.4.0.Beta1-v20121018-0628-B39/taglibs/tld/facelets_jsf_core.taglib.xml). Referenced file contains errors (file:/home/maschmid/jbdevstudio-6.0.0.Beta1/studio/plugins/org.jboss.tools.jst.web.kb_3.4.0.Beta1-v20121018-0628-B39/taglibs/tld/html_basic.taglib.xml). I created JBDS issue for weird XML validation errors https://issues.jboss.org/browse/JBIDE-12990 I fixed the feeds by adding this definition in web.xml: <context-param> <param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name> <param-value>*.xhtml;*.xml</param-value> </context-param> Though I also had to change the content type of the atom feeds, because mojarra throws this exception: java.lang.IllegalArgumentException: Unrecognized Content Type. com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:290) com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:923) com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:377) com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:88) javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:63) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) when any content type other then application/xml, application/xhtml+xml, text/html or text/xml is provided. Vaclav Dedik <vdedik> made a comment on jira JBSEAM-5048 I have added a bugzilla reference, this issue is kind of resolved by this commit: https://source.jboss.org/changelog/Seam?cs=15348 Though, as I have posted in the bugzilla, since there is a problem with mojarra and content type, I also had to change the content type of index.xml. mnovotny: Please add CCFR for WFK 2.1 release notes. I have added Release Notes text, and again changed status to ON_QA, because this issue is partially resolved and QE should verify at least the fix for Blog example Atom feed page. After QE verification, we should probably create another issue for tracking only JBDS upstream issue. Verified Blog example Atom feed functionality and also created tracking issue with id 875656. Marek Novotny <mnovotny> updated the status of jira JBSEAM-5048 to Resolved Marek Novotny <mnovotny> made a comment on jira JBSEAM-5048 fixed by rev #15348 I believe this issue should not appear in the release notes, as it has not been present in any product (only community Seam2.3.0.Final) Distributed as a part of WFK 2.1.0.GA release. Marek Novotny <mnovotny> updated the status of jira JBSEAM-5048 to Closed Marek Novotny <mnovotny> made a comment on jira JBSEAM-5048 2.3.1.CR1 is now out, so closing all resolved issues |