[
https://issues.apache.org/jira/browse/ATLAS-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apoorv Naik resolved ATLAS-2613.
--------------------------------
Resolution: Fixed
Assignee: Apoorv Naik
https://git-wip-us.apache.org/repos/asf?p=atlas.git;a=commit;h=d8d9b127042c67e89b04656574badcf9f7800672
> Submitting a glossary with guid=-1, atlas returns 404 but actually creates
> the glossary
> ---------------------------------------------------------------------------------------
>
> Key: ATLAS-2613
> URL: https://issues.apache.org/jira/browse/ATLAS-2613
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 1.0.0
> Reporter: Ayub Pathan
> Assignee: Apoorv Naik
> Priority: Major
> Fix For: 1.0.0
>
>
> Submitting below glossary returns 404 with error "Given instance guid -1 is
> invalid/not found" but actually glossary is created.
> {noformat}
> https://ctr-e138-1518143905142-256977-01-000004.hwx.site:21443/api/atlas/v2/glossary
> {
> "guid" : "-1",
> "qualifiedName" : "HortoniaBank-8",
> "displayName": "Banking",
> "shortDescription": "Glossary of bank",
> "longDescription": "Glossary of bank - long description",
> "language": "English",
> "usage": "N/A"
> }
> {noformat}
> Atlas log also show graph rollback
> {noformat}
> 2018-04-25 10:38:05,551 ERROR - [pool-2-thread-10 -
> 8ef9844f-deac-4df0-969c-e077f4664ed3:] ~ graph rollback due to exception
> AtlasBaseException:Given instance guid -1 is invalid/not found
> (GraphTransactionInterceptor:73)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)