You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Wolf Benz (JIRA)" <de...@myfaces.apache.org> on 2007/12/28 15:40:43 UTC

[jira] Created: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
----------------------------------------------------------------------------------------------

                 Key: MYFACES-1794
                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions:  1.2.0
         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
            Reporter: Wolf Benz
             Fix For: 1.2.1


Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
"description The requested resource (.../__ADFv__.jsp) is not available."

As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
--Wolf



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Wolf Benz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558983#action_12558983 ] 

Wolf Benz commented on MYFACES-1794:
------------------------------------

Hello Simon, 
What version of Trinidad would you like me to test it with? 
In the apache svn repo I am looking at a 1.2.6 version as the last one(for tr-impl). Is this the one you'd prefer, or should I try with the latest 1.2.4 version?
-Wolf

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Tobias Eisenträger (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784211#action_12784211 ] 

Tobias Eisenträger commented on MYFACES-1794:
---------------------------------------------

I get the same problem with the calendar, but also in general when trying to use the dialog framework.

I guess it is because i am using the .jspx ending with my facelets, so i cannot add 

<context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.jsp</param-value>
  </context-param>

which helped for some. Could anyone try to fix this, please?

Thanks

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Simon Kitching (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558651#action_12558651 ] 

Simon Kitching commented on MYFACES-1794:
-----------------------------------------

Wolf, have you retested with the latest snapshot to see if this is now fixed?

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863398#action_12863398 ] 

Leonardo Uribe commented on MYFACES-1794:
-----------------------------------------

I was not able to reproduce this issue for a long time. If the current 1.2.8 does not work, it could be good to provide a way to test this one, so we can check it. 



> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>            Assignee: Leonardo Uribe
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Simon Kitching (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555562#action_12555562 ] 

Simon Kitching commented on MYFACES-1794:
-----------------------------------------

Hmm..I wonder if MYFACES-1798 has just fixed this.

The patch for that issue solves the problem that "/strange.url/file.jsp" selects a "suffix" of ".url/file.jsp" rather than just ".jsp".
And this url appears to have dots in it:  "../__ADFv__.jsp"

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Simon Kitching (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555561#action_12555561 ] 

Simon Kitching commented on MYFACES-1794:
-----------------------------------------

(copying my comment from the duplicated version of this, MYFACES-1973)

Wolf, it would have been nice if you had included links to the actual email threads.

They appear to be:
  http://www.nabble.com/Dialog-issue-during-ADF--3ETrinidad-migration-to12620702.html#a14519354
  http://www.nabble.com/Trinidad-404-error-3A-requested-resource--28-tutoring-__ADFv__.jsp-29-is-not-available-to12846375.html#a12846792

The issue, according to Adam Winer, is that "*.faces" mappings do not work with auto-generated Trinidad resources, and that MyFaces core needs to support suffix-mappings differently to make this work.

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Wolf Benz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559273#action_12559273 ] 

Wolf Benz commented on MYFACES-1794:
------------------------------------

After check-out of MyFacesCore-trunk_1.2.x, as M2 project, trying mvn install, I get this Maven error: 
"[INFO] Error scanning for extensions: Error building model lineage in order to pre-scan for extensions: Cannot find artifact for parent POM: org.apache.myfaces:myfaces::5-SNAPSHOT for project org.apac
he.myfaces.core:myfaces-core-project:pom:1.2.1-SNAPSHOT "

I changed the local pom by adding this repo 
<repository>
     	<id>Apache Repo</id>
     	<url>http://svn.apache.org/repos/asf/myfaces</url>
     </repository>
, but to no avail. 
I don't see the myfaces-core-project either. 
What am I doing wrong? 

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Wolf Benz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555566#action_12555566 ] 

Wolf Benz commented on MYFACES-1794:
------------------------------------

Hi Simon, 
I have these messages downloaded to my mail client so I don't check them in a browser -> have no link. 
So: thanks for adding them. Apparently the subjects suffice to find the web-equivalents back. 
Kind Regards, 
-Wolf

 

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Wolf Benz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560333#action_12560333 ] 

Wolf Benz commented on MYFACES-1794:
------------------------------------

The problem is not solved - I still get the exact same error as before.
(The M2 probs isn't solved either - I manually added the jars)

-Wolf

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Tobias Eisenträger (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863238#action_12863238 ] 

Tobias Eisenträger commented on MYFACES-1794:
---------------------------------------------

Leonardo - which version fixed this? The other bug says that it works in 1.2.3-SNAPSHOT but in the current 1.2.8 it does not work.

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>            Assignee: Leonardo Uribe
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Simon Kitching (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558987#action_12558987 ] 

Simon Kitching commented on MYFACES-1794:
-----------------------------------------

The whole point of this issue, and the whole point of the Adam Winer email that you referenced is that this is a problem with myfaces-core. In fact, this is even in the title of this issue. So you need to retest with the latest version of myfaces-core.

Which version of Trinidad you test with is irrelevant. Choose whatever is easiest for you.

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Tobias Eisenträger (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863705#action_12863705 ] 

Tobias Eisenträger commented on MYFACES-1794:
---------------------------------------------

I have attached a war with a minimal trinidad configuration showing the problem. It includes all libs and can be run directly on a web server - tested on tomcat 6.0.16

Deploy on Web server, then go to: http://servername:port/404ResourcesExampleProject/ and click on the calendar icon - you will see for example with firebug that it tries to load a resource from this url: http://servername:port/404ResourcesExampleProject/__ADFv__?_t=cd&value=1233446400120&loc=de&enc=iso-8859-1 which return a 404.

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>            Assignee: Leonardo Uribe
>         Attachments: 404ResourcesExample.war
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-1794.
-------------------------------------

      Assignee: Leonardo Uribe
    Resolution: Duplicate

Duplicate of MYFACES-1793

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>            Assignee: Leonardo Uribe
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Wolf Benz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558998#action_12558998 ] 

Wolf Benz commented on MYFACES-1794:
------------------------------------

You're right Simon. 
Will do. 
Thx,
-Wolf

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>             Fix For: 1.2.1
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Tobias Eisenträger (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863775#action_12863775 ] 

Tobias Eisenträger commented on MYFACES-1794:
---------------------------------------------

Thank you Leonardo!

I created the issue TRINIDAD-1804 and referendeced this one.

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>            Assignee: Leonardo Uribe
>         Attachments: 404_2.jpg, 404ResourcesExample.war, 404Screenshot.jpg
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1794) MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863753#action_12863753 ] 

Leonardo Uribe commented on MYFACES-1794:
-----------------------------------------

Thanks for the test. That's the spirit! ;-) 

The error is on trinidad, not in myfaces. I tried the test with ri 1.2_14 and it fails too.

In trinidad there is a class called org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry . This one has a method called getGenericEntryPath that has this code:

  static public String getGenericEntryPath(FacesContext context)
  {
    String url = context.getApplication().getViewHandler().
      getActionURL(context, _GENERIC_ENTRY_VIEW_ID);

    return url;
  }

  static private final String _GENERIC_ENTRY_VIEW_ID = "/__ADFv__";

It delegates to the default view handler, Both trinidad and facelets does not override this method, so in myfaces this is handled by JspViewHandlerImpl. 

JSF 1.2 rev A spec section 7.5.2 Default ViewHandler Implementation says the following about ViewHandler.getActionURL:

"....The getActionURL() method must fulfill the following responsibilities:
■ If the specified viewId does not start with a "/", throw
IllegalArgumentException.
■ If prefix mapping (such as "/faces/*") is used for FacesServlet, prepend the context
path of the current application, and the specified prefix, to the specified viewId and return
the completed value. For example "/cardemo/faces/chooseLocale.jsp".
■ If suffix mapping (such as "*.faces") is used for FacesServlet, and the specified
viewId ends with the specified suffix, replacing the suffix with the value specified by the
context initialization parameter named by the symbolic constant
ViewHandler.DEFAULT_SUFFIX_NAME (if no such context initialization parameter
is present, use the value of the symbolic constant ViewHandler.DEFAULT_SUFFIX as the
replacement suffix), prefix this value with the context path for the current web
application, and return the result. For example "/cardemo/chooseLocale.faces"  ....."

Trinidad does not append the default suffix to the constant, so when extension mapping is used the algorithm of the spec does not replace the expected suffix, just append the constant to the url, causing the 404 error. 

The wrong link is rendered like this:

http://localhost:8080/myfaces-test-trinidad/__ADFv__?_t=cd&value=1233532799700&loc=es&enc=iso-8859-1

and it should be rendered like this:

http://localhost:8080/myfaces-test-trinidad/__ADFv__.jsf?_t=cd&value=1233532799700&loc=es&enc=iso-8859-1

Could you open an issue on trinidad issue tracker and reference this issue, so someone in trinidad could commit the solution proposed?

> MF Core causes resources not found(404) errors (recently also corrected in Sun RI for JSF 1.2)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-1794
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1794
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions:  1.2.0
>         Environment: JSF 1.2 (failures mostly happen with extensions like with Trinidad e.g.)
>            Reporter: Wolf Benz
>            Assignee: Leonardo Uribe
>         Attachments: 404_2.jpg, 404ResourcesExample.war, 404Screenshot.jpg
>
>
> Cf. the MF mailing list: topics like "Dialog issue during ADF->Trinidad migration"
> I came across it using tr:inputDate but in the list topic I mentioned above, so I first thought it was a Trinidad issue, but people more knowledgeable with the JSF spec(Adam Winer) pointed out it was a MF 1.2 core issue, and that the Sun RI had also sufferend from it, yet in the RI, this bug has recently been corrected. 
> The error I got was when clicking the calendar icon and expecting a cal popup. Instead I got: 
> "description The requested resource (.../__ADFv__.jsp) is not available."
> As it potentially affects a lot of other components beyond this trinidad one, I marked it major as these components just don't work anymore.
> E.g. MF mailing list with topic "RE: [Trinidad] HTTP 404 (file not found) while using DialogFramework" points that out.
> --Wolf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.