From dev-return-70831-archive-asf-public=cust-asf.ponee.io@myfaces.apache.org Thu May 2 15:09:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C170418067E for ; Thu, 2 May 2019 17:09:02 +0200 (CEST) Received: (qmail 51990 invoked by uid 500); 2 May 2019 15:09:02 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 51920 invoked by uid 99); 2 May 2019 15:09:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2019 15:09:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 691ABE2AEE for ; Thu, 2 May 2019 15:09:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1DC8E24597 for ; Thu, 2 May 2019 15:09:00 +0000 (UTC) Date: Thu, 2 May 2019 15:09:00 +0000 (UTC) From: "Volodymyr Siedlecki (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MYFACES-4289) 404 Resource Errors after MyFaces-4270 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-4289?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 831682#comment-16831682 ]=20 Volodymyr Siedlecki commented on MYFACES-4289: ---------------------------------------------- Tested with your latest commit on 2.3.4, and the app works again! Thank you= so much for your help, Thomas! > 404 Resource Errors after MyFaces-4270 > -------------------------------------- > > Key: MYFACES-4289 > URL: https://issues.apache.org/jira/browse/MYFACES-4289 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.3.3 > Reporter: Volodymyr Siedlecki > Assignee: Thomas Andraschko > Priority: Major > Fix For: 3.0.0-SNAPSHOT, 2.3.4 > > Attachments: sample.war, source.zip > > > Hello,=20 > I have an application that works with JSF 2.3.2, but doesn't work with JS= F 2.3.3.=C2=A0 The RichFaces resources do not load. > I looked at the commits of what changed, and I've narrowed it down to thi= s one: https://github.com/apache/myfaces/commit/cb75b5a6486c61c6bd3e3befc62= cce58576f6be0=20 > This issue, from my understanding, is caused by incorrect mappings. =C2= =A0 > After investigating, I noticed that getFacesServletRegistration returns a= ServletRegistration that doesn't contain mappings to the resources. I beli= eve this is because of the isFacesServlet check on line 53 of FacesServletM= appingUtils.java (of the commit mentioned).=C2=A0=C2=A0 Prior to the commit= , there was code to handle non-FacesServlet Mappings ( line 194-207 on=C2= =A0 FacesServletMappingUtils.java ).=20 > I would appreciate any help into this. > Thank you. -- This message was sent by Atlassian JIRA (v7.6.3#76005)