[jira] [Commented] (CXF-6841) Fix documentation cxf-rt-rs-http-sc => cxf-rt-rs-http-sci

2016-03-29 Thread Dennis Kieselhorst (JIRA)

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

Dennis Kieselhorst commented on CXF-6841:
-

In addition the class is named JaxrsServletContainerInitializer and not 
JaxrsServletContextInitializer.

> Fix documentation cxf-rt-rs-http-sc => cxf-rt-rs-http-sci
> -
>
> Key: CXF-6841
> URL: https://issues.apache.org/jira/browse/CXF-6841
> Project: CXF
>  Issue Type: Bug
>  Components: Documentation
>Affects Versions: 3.1.5
>Reporter: Dennis Kieselhorst
>Priority: Trivial
>
> JaxrsServletContextInitializer is in module cxf-rt-rs-http-sci not in 
> cxf-rt-rs-http-sc
> http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-ServletandApplicationContainerConfiguration



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (CXF-6845) Some methods in MessageUtils prone to NPE

2016-03-29 Thread JIRA

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

Francesco Chicchiriccò reassigned CXF-6845:
---

Assignee: Francesco Chicchiriccò

> Some methods in MessageUtils prone to NPE
> -
>
> Key: CXF-6845
> URL: https://issues.apache.org/jira/browse/CXF-6845
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.0.9
>Reporter: Francesco Chicchiriccò
>Assignee: Francesco Chicchiriccò
> Fix For: 3.0.10, 3.1.7, 3.2.0
>
> Attachments: CXF-6845.diff
>
>
> When attempting to upgrade Syncope 1.2 from CXF 3.0.8 to 3.0.9, I receive NPE 
> due to some methods in {{MessageUtils}} - see for example
> {code}
> public static boolean getContextualBoolean(Message m, String key, boolean 
> defaultValue) {
> Object o = m.getContextualProperty(key);
> if (o != null) {
> return PropertyUtils.isTrue(o);
> }
> return defaultValue;
> }
> {code}
> As you can see, if {{m}} is NULL, NPE is thrown.
> See for reference the same method from 3.1.6:
> {code}
> public static boolean getContextualBoolean(Message m, String key, boolean 
> defaultValue) {
> if (m != null) {
> Object o = m.getContextualProperty(key);
> if (o != null) {
> return PropertyUtils.isTrue(o);
> }
> }
> return defaultValue;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CXF-6845) Some methods in MessageUtils prone to NPE

2016-03-29 Thread JIRA

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

Francesco Chicchiriccò updated CXF-6845:

Fix Version/s: 3.2.0
   3.1.7
   3.0.10

> Some methods in MessageUtils prone to NPE
> -
>
> Key: CXF-6845
> URL: https://issues.apache.org/jira/browse/CXF-6845
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.0.9
>Reporter: Francesco Chicchiriccò
> Fix For: 3.0.10, 3.1.7, 3.2.0
>
> Attachments: CXF-6845.diff
>
>
> When attempting to upgrade Syncope 1.2 from CXF 3.0.8 to 3.0.9, I receive NPE 
> due to some methods in {{MessageUtils}} - see for example
> {code}
> public static boolean getContextualBoolean(Message m, String key, boolean 
> defaultValue) {
> Object o = m.getContextualProperty(key);
> if (o != null) {
> return PropertyUtils.isTrue(o);
> }
> return defaultValue;
> }
> {code}
> As you can see, if {{m}} is NULL, NPE is thrown.
> See for reference the same method from 3.1.6:
> {code}
> public static boolean getContextualBoolean(Message m, String key, boolean 
> defaultValue) {
> if (m != null) {
> Object o = m.getContextualProperty(key);
> if (o != null) {
> return PropertyUtils.isTrue(o);
> }
> }
> return defaultValue;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (CXF-6845) Some methods in MessageUtils prone to NPE

2016-03-29 Thread JIRA

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

Francesco Chicchiriccò resolved CXF-6845.
-
Resolution: Fixed

> Some methods in MessageUtils prone to NPE
> -
>
> Key: CXF-6845
> URL: https://issues.apache.org/jira/browse/CXF-6845
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.0.9
>Reporter: Francesco Chicchiriccò
>Assignee: Francesco Chicchiriccò
> Fix For: 3.0.10, 3.1.7, 3.2.0
>
> Attachments: CXF-6845.diff
>
>
> When attempting to upgrade Syncope 1.2 from CXF 3.0.8 to 3.0.9, I receive NPE 
> due to some methods in {{MessageUtils}} - see for example
> {code}
> public static boolean getContextualBoolean(Message m, String key, boolean 
> defaultValue) {
> Object o = m.getContextualProperty(key);
> if (o != null) {
> return PropertyUtils.isTrue(o);
> }
> return defaultValue;
> }
> {code}
> As you can see, if {{m}} is NULL, NPE is thrown.
> See for reference the same method from 3.1.6:
> {code}
> public static boolean getContextualBoolean(Message m, String key, boolean 
> defaultValue) {
> if (m != null) {
> Object o = m.getContextualProperty(key);
> if (o != null) {
> return PropertyUtils.isTrue(o);
> }
> }
> return defaultValue;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-6845) Some methods in MessageUtils prone to NPE

2016-03-29 Thread JIRA

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

Francesco Chicchiriccò commented on CXF-6845:
-

Thanks [~sergey_beryozkin] for reviewing.

> Some methods in MessageUtils prone to NPE
> -
>
> Key: CXF-6845
> URL: https://issues.apache.org/jira/browse/CXF-6845
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.0.9
>Reporter: Francesco Chicchiriccò
>Assignee: Francesco Chicchiriccò
> Fix For: 3.0.10, 3.1.7, 3.2.0
>
> Attachments: CXF-6845.diff
>
>
> When attempting to upgrade Syncope 1.2 from CXF 3.0.8 to 3.0.9, I receive NPE 
> due to some methods in {{MessageUtils}} - see for example
> {code}
> public static boolean getContextualBoolean(Message m, String key, boolean 
> defaultValue) {
> Object o = m.getContextualProperty(key);
> if (o != null) {
> return PropertyUtils.isTrue(o);
> }
> return defaultValue;
> }
> {code}
> As you can see, if {{m}} is NULL, NPE is thrown.
> See for reference the same method from 3.1.6:
> {code}
> public static boolean getContextualBoolean(Message m, String key, boolean 
> defaultValue) {
> if (m != null) {
> Object o = m.getContextualProperty(key);
> if (o != null) {
> return PropertyUtils.isTrue(o);
> }
> }
> return defaultValue;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-6841) Fix documentation cxf-rt-rs-http-sc => cxf-rt-rs-http-sci

2016-03-29 Thread Sergey Beryozkin (JIRA)

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

Sergey Beryozkin commented on CXF-6841:
---

Sorry about it, see

https://cwiki.apache.org/confluence/display/CXF20DOC/JAXRS+Services+Configuration#JAXRSServicesConfiguration-ServletandApplicationContainerConfiguration

> Fix documentation cxf-rt-rs-http-sc => cxf-rt-rs-http-sci
> -
>
> Key: CXF-6841
> URL: https://issues.apache.org/jira/browse/CXF-6841
> Project: CXF
>  Issue Type: Bug
>  Components: Documentation
>Affects Versions: 3.1.5
>Reporter: Dennis Kieselhorst
>Priority: Trivial
>
> JaxrsServletContextInitializer is in module cxf-rt-rs-http-sci not in 
> cxf-rt-rs-http-sc
> http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-ServletandApplicationContainerConfiguration



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (CXF-6841) Fix documentation cxf-rt-rs-http-sc => cxf-rt-rs-http-sci

2016-03-29 Thread Sergey Beryozkin (JIRA)

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

Sergey Beryozkin resolved CXF-6841.
---
   Resolution: Fixed
 Assignee: Sergey Beryozkin
Fix Version/s: 3.1.7

> Fix documentation cxf-rt-rs-http-sc => cxf-rt-rs-http-sci
> -
>
> Key: CXF-6841
> URL: https://issues.apache.org/jira/browse/CXF-6841
> Project: CXF
>  Issue Type: Bug
>  Components: Documentation
>Affects Versions: 3.1.5
>Reporter: Dennis Kieselhorst
>Assignee: Sergey Beryozkin
>Priority: Trivial
> Fix For: 3.1.7
>
>
> JaxrsServletContextInitializer is in module cxf-rt-rs-http-sci not in 
> cxf-rt-rs-http-sc
> http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-ServletandApplicationContainerConfiguration



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FEDIZ-160) Replace Hibernate with Apache BVal

2016-03-29 Thread Colm O hEigeartaigh (JIRA)
Colm O hEigeartaigh created FEDIZ-160:
-

 Summary: Replace Hibernate with Apache BVal
 Key: FEDIZ-160
 URL: https://issues.apache.org/jira/browse/FEDIZ-160
 Project: CXF-Fediz
  Issue Type: Improvement
Affects Versions: 1.3.0
Reporter: Colm O hEigeartaigh
Assignee: Colm O hEigeartaigh
 Fix For: 1.3.1


As part of FEDIZ-122 (https://issues.apache.org/jira/browse/FEDIZ-122), Apache 
BVal was replaced with Hibernate as part of the update to use Spring 4. 
However, with a new BVal release out, we can go back to using it rather than 
Hibernate for bean validation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (FEDIZ-160) Replace Hibernate with Apache BVal

2016-03-29 Thread Colm O hEigeartaigh (JIRA)

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

Colm O hEigeartaigh resolved FEDIZ-160.
---
Resolution: Fixed

> Replace Hibernate with Apache BVal
> --
>
> Key: FEDIZ-160
> URL: https://issues.apache.org/jira/browse/FEDIZ-160
> Project: CXF-Fediz
>  Issue Type: Improvement
>Affects Versions: 1.3.0
>Reporter: Colm O hEigeartaigh
>Assignee: Colm O hEigeartaigh
> Fix For: 1.3.1
>
>
> As part of FEDIZ-122 (https://issues.apache.org/jira/browse/FEDIZ-122), 
> Apache BVal was replaced with Hibernate as part of the update to use Spring 
> 4. However, with a new BVal release out, we can go back to using it rather 
> than Hibernate for bean validation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (CXF-6849) Form parameter names including '%' are not decoded properly

2016-03-29 Thread Michael Schilling (JIRA)
Michael Schilling created CXF-6849:
--

 Summary: Form parameter names including '%' are not decoded 
properly
 Key: CXF-6849
 URL: https://issues.apache.org/jira/browse/CXF-6849
 Project: CXF
  Issue Type: Bug
Affects Versions: 3.1.6
Reporter: Michael Schilling


Making a POST call that has form parameter name of {{%}} produces a 
{{BufferUnderflowException}}.

Additionally, making a POST call with a form parameter name of {{%}} directly 
followed by any character that can't represent a hexadecimal value will produce 
a {{RuntimeException}}.

The source of these exceptions are from {{UrlUtils#urlDecode}} and 
{{UrlUtils#digit16}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CXF-6849) Form parameter names including '%' are not decoded properly

2016-03-29 Thread Michael Schilling (JIRA)

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

Michael Schilling updated CXF-6849:
---
Description: 
Making a POST call that has form parameter name of {{%}} produces a 
{{BufferUnderflowException}}.

Additionally, making a POST call with a form parameter name of {{%}} directly 
followed by any character that can't represent a hexadecimal value will produce 
a {{RuntimeException}} stating {{"Invalid URL encoding: not a valid digit 
(radix 16): "}}.

The source of these exceptions are from {{UrlUtils#urlDecode}} and 
{{UrlUtils#digit16}}.

  was:
Making a POST call that has form parameter name of {{%}} produces a 
{{BufferUnderflowException}}.

Additionally, making a POST call with a form parameter name of {{%}} directly 
followed by any character that can't represent a hexadecimal value will produce 
a {{RuntimeException}}.

The source of these exceptions are from {{UrlUtils#urlDecode}} and 
{{UrlUtils#digit16}}.


> Form parameter names including '%' are not decoded properly
> ---
>
> Key: CXF-6849
> URL: https://issues.apache.org/jira/browse/CXF-6849
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.1.6
>Reporter: Michael Schilling
>
> Making a POST call that has form parameter name of {{%}} produces a 
> {{BufferUnderflowException}}.
> Additionally, making a POST call with a form parameter name of {{%}} directly 
> followed by any character that can't represent a hexadecimal value will 
> produce a {{RuntimeException}} stating {{"Invalid URL encoding: not a valid 
> digit (radix 16): "}}.
> The source of these exceptions are from {{UrlUtils#urlDecode}} and 
> {{UrlUtils#digit16}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-6849) Form parameter names including '%' are not decoded properly

2016-03-29 Thread Sergey Beryozkin (JIRA)

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

Sergey Beryozkin commented on CXF-6849:
---

Can a percent symbol be passed in a clear form in the form payloads ? Shouldn't 
it be encoded ?

> Form parameter names including '%' are not decoded properly
> ---
>
> Key: CXF-6849
> URL: https://issues.apache.org/jira/browse/CXF-6849
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.1.6
>Reporter: Michael Schilling
>
> Making a POST call that has form parameter name of {{%}} produces a 
> {{BufferUnderflowException}}.
> Additionally, making a POST call with a form parameter name of {{%}} directly 
> followed by any character that can't represent a hexadecimal value will 
> produce a {{RuntimeException}} stating {{"Invalid URL encoding: not a valid 
> digit (radix 16): "}}.
> The source of these exceptions are from {{UrlUtils#urlDecode}} and 
> {{UrlUtils#digit16}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)