[jira] [Updated] (ATLAS-4136) Export Service: NPE if No Options are Passed

2021-02-04 Thread Ashutosh Mestry (Jira)


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

Ashutosh Mestry updated ATLAS-4136:
---
Description: 
*Steps to Duplicate*
 # Create an export request by explicitly setting options to null. E.g.

{code:java}
{
 "itemsToExport": [{
 "typeName": "hive_db",
 "uniqueAttributes": {
 "qualifiedName": "abcd@cm"
 }
 }],
 "options": null
}{code}
_Expected results:_ Export should proceed.

_Actual results_: Export fails with NPE.

Root cause: Changes introduced by changes made for ATLAS-4068.

_Workaround_: Not having _options_ key addresses the problem.

 

  was:
*Steps to Duplicate*
 # Create an export request by explicitly setting options to null. E.g.

{code:java}
{
 "itemsToExport": [{
 "typeName": "hive_db",
 "uniqueAttributes": {
 "qualifiedName": "abcd@cm"
 }
 }],
 "options": null
}{code}
_Expected results:_ Export should proceed.

_Actual results_: Export fails with NPE.

Root cause: Changes introduced by changes made for ATLAS-4068.


> Export Service: NPE if No Options are Passed
> 
>
> Key: ATLAS-4136
> URL: https://issues.apache.org/jira/browse/ATLAS-4136
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: trunk
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: trunk
>
>
> *Steps to Duplicate*
>  # Create an export request by explicitly setting options to null. E.g.
> {code:java}
> {
>  "itemsToExport": [{
>  "typeName": "hive_db",
>  "uniqueAttributes": {
>  "qualifiedName": "abcd@cm"
>  }
>  }],
>  "options": null
> }{code}
> _Expected results:_ Export should proceed.
> _Actual results_: Export fails with NPE.
> Root cause: Changes introduced by changes made for ATLAS-4068.
> _Workaround_: Not having _options_ key addresses the problem.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ATLAS-4136) Export Service: NPE if No Options are Passed

2021-02-04 Thread Ashutosh Mestry (Jira)


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

Ashutosh Mestry updated ATLAS-4136:
---
Description: 
*Steps to Duplicate*
 # Create an export request by explicitly setting options to null. E.g.

{code:java}
{
 "itemsToExport": [{
 "typeName": "hive_db",
 "uniqueAttributes": {
 "qualifiedName": "abcd@cm"
 }
 }],
 "options": null
}{code}
_Expected results:_ Export should proceed.

_Actual results_: Export fails with NPE.

Root cause: Changes introduced by changes made for ATLAS-4068.

  was:
*Steps to Duplicate*
 # Create an export request by explicitly setting options to null. E.g.

{code:java}
{
 "itemsToExport": [{
 "typeName": "hive_db",
 "uniqueAttributes": {
 "qualifiedName": "abcd@cm"
 }
 }],
 "options": null
}{code}
_Expected results:_ Export should proceed.

_Actual results_: Export fails with NPE.


> Export Service: NPE if No Options are Passed
> 
>
> Key: ATLAS-4136
> URL: https://issues.apache.org/jira/browse/ATLAS-4136
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: trunk
>Reporter: Ashutosh Mestry
>Assignee: Ashutosh Mestry
>Priority: Major
> Fix For: trunk
>
>
> *Steps to Duplicate*
>  # Create an export request by explicitly setting options to null. E.g.
> {code:java}
> {
>  "itemsToExport": [{
>  "typeName": "hive_db",
>  "uniqueAttributes": {
>  "qualifiedName": "abcd@cm"
>  }
>  }],
>  "options": null
> }{code}
> _Expected results:_ Export should proceed.
> _Actual results_: Export fails with NPE.
> Root cause: Changes introduced by changes made for ATLAS-4068.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)