Skip to content

Update relationship_converter.py#1

Open
wendellwwood wants to merge 2 commits intojamasoftware-ps:masterfrom
wendellwwood:master
Open

Update relationship_converter.py#1
wendellwwood wants to merge 2 commits intojamasoftware-ps:masterfrom
wendellwwood:master

Conversation

@wendellwwood
Copy link

Updated function evaluate_relationships to properly handle error response codes. We should allow error 404's to continue to execute as these originate because the calling method 'get_items_of_type' returns all items of that type even if they have been soft deleted (active = F). All other error codes above 400 should be considered to either stop execution or allow it. For now they stop execution.

Updated function evaluate_relationships to properly handle error response codes. We should allow error 404's to continue to execute as these originate because the calling method 'get_items_of_type' returns all items of that type even if they have been soft deleted (active = F). All other error codes above 400 should be considered to either stop execution or allow it. For now they stop execution.
@wendellwwood
Copy link
Author

If this is change is undesired, I think the webservice call should be updated to not include inactive items.

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.

1 participant