[
https://issues.apache.org/jira/browse/AMBARI-8330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212464#comment-14212464
]
Hudson commented on AMBARI-8330:
--------------------------------
FAILURE: Integrated in Ambari-trunk-Commit-docker #237 (See
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/237/])
AMBARI-8330 - API: null value in request results in null string value on
resource (tbeerbower) (tbeerbower:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=99a24d8c32ad0cc2b8df650b536f1a153c7b97fc)
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/api/services/parsers/JsonRequestBodyParser.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java
*
ambari-server/src/test/java/org/apache/ambari/server/api/services/parsers/JsonRequestBodyParserTest.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
*
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
> API: null value in request results in "null" string value on resource
> ---------------------------------------------------------------------
>
> Key: AMBARI-8330
> URL: https://issues.apache.org/jira/browse/AMBARI-8330
> Project: Ambari
> Issue Type: Bug
> Reporter: Tom Beerbower
> Assignee: Tom Beerbower
> Fix For: 2.0.0
>
> Attachments: AMBARI-8330.patch
>
>
> The admin view appears to be passing in string "null" for empty fields in the
> create instance portion. We need to get null values, not string with value
> "null".
> So, we need some mechanism to distinguish between empty string and null value.
> It looks like this isn't a view issue but a problem with the API framework.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)