GitHub user kavinkumarks opened a pull request:

    https://github.com/apache/zeppelin/pull/1348

    [ZEPPELIN-1313] NullPointerException when using Clone notebook REST API

    ### What is this PR for?
    This fixes when the input json is empty for the clone notebook REST API and 
for this case the default name will be populated.
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    NA
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1313
    
    ### How should this be tested?
    When the input json is empty for the clone notebook REST API, the response 
should be 201 with the default name populated.
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kavinkumarks/zeppelin 
zeppelin-1313-fix-NPE-clone-notebook

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1348.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1348
    
----
commit 19aa878e0183530ef113790e6e1275efa8d59fde
Author: Kavin Kumar <junoka...@gmail.com>
Date:   2016-08-19T12:51:43Z

    Fixed NPE when the input json is empty for clone notebook REST API and
    set the default name for the case.Added test cases too.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to