Skip to content

Ranger -5587 modified && condition to OR to resolve the issue of definition id #943

Open
abhiishek26 wants to merge 1 commit into
apache:masterfrom
abhiishek26:fix_put_definitions_id
Open

Ranger -5587 modified && condition to OR to resolve the issue of definition id #943
abhiishek26 wants to merge 1 commit into
apache:masterfrom
abhiishek26:fix_put_definitions_id

Conversation

@abhiishek26
Copy link
Copy Markdown

synchronization in put /definitions/{id}

What changes were proposed in this pull request?

The PUT api http://localhost:6080/service/plugins/definitions/{id} is not throwing error when different id is passed from url and json payload , the issue is because in of a && condition updateServiceDef in ServiceREST which should have been OR ,I have changed it . On changing the And condition to or it is proprly throwing error as expected .

@vyommani
Copy link
Copy Markdown
Contributor

can you add a Junit test if possible ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants