[
https://issues.apache.org/jira/browse/SCB-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598434#comment-16598434
]
ASF GitHub Bot commented on SCB-880:
------------------------------------
liubao68 commented on a change in pull request #886: [SCB-880]Give an option to
query parameter convert empty to null
URL:
https://github.com/apache/incubator-servicecomb-java-chassis/pull/886#discussion_r214282635
##########
File path:
common/common-rest/src/main/java/org/apache/servicecomb/common/rest/codec/param/QueryProcessorCreator.java
##########
@@ -44,6 +46,13 @@ public Object getValue(HttpServletRequest request) throws
Exception {
value = request.getParameterValues(paramPath);
} else {
value = request.getParameter(paramPath);
+ // make some old systems happy
+ if (DynamicPropertyFactory.getInstance()
Review comment:
This option do not need make dynamic changeble. I cache it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Give an option to query parameter convert empty to null
> -------------------------------------------------------
>
> Key: SCB-880
> URL: https://issues.apache.org/jira/browse/SCB-880
> Project: Apache ServiceComb
> Issue Type: New Feature
> Components: Java-Chassis
> Reporter: liubao
> Assignee: liubao
> Priority: Major
> Fix For: java-chassis-1.1.0
>
>
> Some old system parse query like [http://host/path/a=&b=22] and value of a is
> null. But Servicecomb is empty. We need give an option to make these system
> happy.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)