[jira] [Updated] (ATLAS-4136) Export Service: NPE if Options Explicitly set to NULL

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:
---
Attachment: (was: 
ATLAS-4136-Export-Service-NPE-if-Options-Explicitly-.patch)

> Export Service: NPE if Options Explicitly set to NULL
> -
>
> 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
>
> Attachments: 
> ATLAS-4136-Export-Service-NPE-if-Options-Explicitly-.patch
>
>
> *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 Options Explicitly set to NULL

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:
---
Attachment: ATLAS-4136-Export-Service-NPE-if-Options-Explicitly-.patch

> Export Service: NPE if Options Explicitly set to NULL
> -
>
> 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
>
> Attachments: 
> ATLAS-4136-Export-Service-NPE-if-Options-Explicitly-.patch
>
>
> *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 Options Explicitly set to NULL

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:
---
Attachment: ATLAS-4136-Export-Service-NPE-if-Options-Explicitly-.patch

> Export Service: NPE if Options Explicitly set to NULL
> -
>
> 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
>
> Attachments: 
> ATLAS-4136-Export-Service-NPE-if-Options-Explicitly-.patch
>
>
> *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 Options Explicitly set to NULL

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:
---
Summary: Export Service: NPE if Options Explicitly set to NULL  (was: 
Export Service: NPE if No Options are Passed)

> Export Service: NPE if Options Explicitly set to NULL
> -
>
> 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)