[jira] [Created] (EXTCDI-305) review validation of EXTCDI-265

2013-01-29 Thread Mark Struberg (JIRA)
Mark Struberg created EXTCDI-305:


 Summary: review validation of EXTCDI-265
 Key: EXTCDI-305
 URL: https://issues.apache.org/jira/browse/EXTCDI-305
 Project: MyFaces CODI
  Issue Type: Bug
  Components: JEE-JPA1-Module
Affects Versions: 1.0.5
Reporter: Mark Struberg
Assignee: Mark Struberg


CODI-1.0.5 added a 'validation' for qualifiers of the bean. In fact this is too 
strict. This only makes sense for injected EntityManagers, but not if you like 
to store information which has nothing to do with EntityManagers. 
In our case we e.g. like to track information we collect via @PostUpdate JPA 
EntityListeners and evaluate them in the @PreDestroy of an @TransactionScoped 
bean. This is *explicitely* default scoped and not assigned to any special 
EntityManager!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (MYFACES-3690) Trinidad doesn't support surrogate characters

2013-01-29 Thread Jeanne Waldman (JIRA)
Jeanne Waldman created MYFACES-3690:
---

 Summary: Trinidad doesn't support surrogate characters
 Key: MYFACES-3690
 URL: https://issues.apache.org/jira/browse/MYFACES-3690
 Project: MyFaces Core
  Issue Type: Bug
Reporter: Jeanne Waldman
Assignee: Jeanne Waldman


[Problem Description:]
Create a simple jsf page as below:



In IE7, when we enter a surrogate character, then click submit button,
surrogate character can be correctly displayed when page rendered.

While in FF3, the surrogate character are displayed as 2 characters after
clicked the submit button.
NOTE: If using pre 7 jetty, the surrogate char will disappear (bug in jetty). I 
had to use JDeveloper to reproduce.

[Test Data:]
You can copy a sample surrogate character from:
http://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint=%F0%A0%80%80

Note: You must install surrogate font in your env to display the surrogate
characters.

[Analysis:]
Check the html source of generated page, the surrogate character is written
into 2 decimal value '��', and Firefox can't recognize these 2
Decimal value as a single surrogate character.

While in IE, it can recognize these 2 decimal value represent a single
surrogate character.

According to
http://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint=%F0%A0%80%80, the 
decimal value for this surrogate character is 131072, if in html source code,
we write "𠀀" instead of '��', the surrogate character
can display well in both IE7 and FF3.

Fix:
The fix is to HTMLEscapes and XMLEscapes. if char is high-surrogate, use 
Character.getCodePoint and encode that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TRINIDAD-2355) The error message displayed for a large file uploaded is not browser locale dependent

2013-01-29 Thread Anshu Jain (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anshu Jain updated TRINIDAD-2355:
-

Status: Patch Available  (was: Open)

> The error message displayed for a large file uploaded is not browser locale 
> dependent
> -
>
> Key: TRINIDAD-2355
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2355
> Project: MyFaces Trinidad
>  Issue Type: Bug
>  Components: Components
>Affects Versions: 2.0.0-core, 2.0.1-core, 2.1.0-core
> Environment: The bug occurs across environments.
>Reporter: Anshu Jain
> Attachments: TRINIDAD-2355.patch
>
>
> When using inputFile component to upload a too large file, the error message 
> "The file could not be uploaded because it is too large" popups up. But this 
> message is rendered in the default locale set in the server and not in the 
> browser locale.
> The message should appear according to the browser locale.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (TOBAGO-1207) Codi WindowScope: when opening a new Window the windowId must be attached to it

2013-01-29 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/TOBAGO-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565210#comment-13565210
 ] 

Hudson commented on TOBAGO-1207:


Integrated in tobago-1.5.x #126 (See 
[https://builds.apache.org/job/tobago-1.5.x/126/])
TOBAGO-1207: Codi WindowScope: when opening a new Window the windowId must 
be attached to it
 - Undo last change for the release 1.5.9, because it's not working yet... 
(Revision 1439790)

 Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=rev&rev=1439790
Files : 
* 
/myfaces/tobago/branches/tobago-1.5.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js


> Codi WindowScope: when opening a new Window the windowId must be attached to 
> it
> ---
>
> Key: TOBAGO-1207
> URL: https://issues.apache.org/jira/browse/TOBAGO-1207
> Project: MyFaces Tobago
>  Issue Type: Bug
>  Components: Themes
>Affects Versions: 1.6.0-beta-2, 1.5.7
>Reporter: Udo Schnurpfeil
>Assignee: Udo Schnurpfeil
> Fix For: 1.6.0-beta-3, 1.5.10, 1.6.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (TRINIDAD-2355) The error message displayed for a large file uploaded is not browser locale dependent

2013-01-29 Thread Anshu Jain (JIRA)
Anshu Jain created TRINIDAD-2355:


 Summary: The error message displayed for a large file uploaded is 
not browser locale dependent
 Key: TRINIDAD-2355
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2355
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Components
Affects Versions: 2.0.1-core, 2.0.0-core
 Environment: The bug occurs across environments.
Reporter: Anshu Jain


When using inputFile component to upload a too large file, the error message 
"The file could not be uploaded because it is too large" popups up. But this 
message is rendered in the default locale set in the server and not in the 
browser locale.
The message should appear according to the browser locale.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira