Opened 15 years ago
Closed 15 years ago
#1235 closed defect (fixed)
Maestro: Package modification utility adds "DeleteResource" operations for everything when saving
Reported by: | jbirch | Owned by: | ksgeograf |
---|---|---|---|
Priority: | low | Milestone: | Maestro-2.0 |
Component: | Maestro | Version: | |
Severity: | minor | Keywords: | |
Cc: | External ID: |
Description (last modified by )
When I modified a package and restored it, it destroyed everything in my repository other than what was in the package. This is because the package modification utility adds DeleteResoure calls to all resources (including folders) in the output package when it saves. This is undesirable behaviour in many cases.
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Description: | modified (diff) |
---|---|
Severity: | trivial → minor |
Summary: | Maestro: any way to not have folders delete before creation when generating packages? → Maestro: Package modification utility adds "DeleteResource" operations for everything when saving |
Type: | enhancement → defect |
I thought I was going nuts, because the checkbox is actually TO delete folders, and the default is not to delete.
But I remember I had been playing around with modifying the package. The package modifier appears to throw in the DeleteResource operations by default.
I'm going to update the ticket title and description to match.
comment:3 by , 15 years ago
Milestone: | → Maestro-2.0 |
---|---|
Status: | new → assigned |
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed with r4514.
The default should probably have been to NOT insert the delete.
I have added a checkbox to the modify dialog so the user can choose if delete operations should be inserted.
When creating the package there is a checkbox to not delete folders. If the folders are deleted when this checkbox is not checked, its a bug.
It would also be possible to suppress the delete when applying the package, but that would require that the manifest file is extracted, altered and re-inserted.