ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8330) API: null value in request results in "null" string value on resource
Date Fri, 14 Nov 2014 16:26:34 GMT

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

Hudson commented on AMBARI-8330:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #947 (See [https://builds.apache.org/job/Ambari-trunk-Commit/947/])
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/test/java/org/apache/ambari/server/api/services/parsers/JsonRequestBodyParserTest.java
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/api/services/parsers/JsonRequestBodyParser.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java


> 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)

Mime
View raw message