Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.update_layout fails on Page if draft resource existis #138

Open
dgierszcc opened this issue Nov 9, 2022 · 0 comments
Open

.update_layout fails on Page if draft resource existis #138

dgierszcc opened this issue Nov 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@dgierszcc
Copy link

If there is an existing draft under the Pages Resources, an exception is thrown.

** Steps To Reproduce this behavior**

  1. Go to Page that has an existing draft Resource
  2. make modification to the layout
  3. run page.update_layout(layout)

Expected behavior
Draft Resource is deleted and the Page layout is updated

Observed behavior
Exception: Resource does not exist or is inaccessible: us1 /resources/https:/<org url like "mycompany.maps.arcgis.com">/sharing/rest/content/items//resources/draft-1657817271169.json?token=
(Error Code: 404)

Screenshots
image

Additional context
update_layout works fine if you first manually delete the draft through ArcGIS Assistant.

@dgierszcc dgierszcc added the bug Something isn't working label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant