Hello All,
A question about an error I am getting trying to delete Media resources on
S3. When I delete the resource via the Resource Manager (Delete Resource
in the left side tool bar) I get the message that states "You won't be able
to undo this operation!", then I click on the Delete button and nothing
happens, however, if I go back to the Map or Search the resource has been
deleted.
Using the developer tools for the browser I have traced the error back to
the delete-resource.js in the arches/app/media/js/views/forms folder.
Specifically:
deleteResource: function() {
$.ajax({
method: 'DELETE',
url: '',
success: function() {
location.href = arches.urls.home;
}
});
The error seems to be taking place at the url:, which isn't populated.
Does anyone have suggestions for the proper way to reference the S3 bucket
here, and if there are any specific permissions that need to be set to
allow deleting files from S3? Any help is appreciated, thanks.
Andy
--
-- To post, send email to [email protected]. To unsubscribe, send
email to [email protected]. For more information,
visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.