Opened 14 years ago

Closed 14 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 jbirch)

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 ksgeograf, 14 years ago

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.

comment:2 by jbirch, 14 years ago

Description: modified (diff)
Severity: trivialminor
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: enhancementdefect

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 ksgeograf, 14 years ago

Milestone: Maestro-2.0
Status: newassigned

comment:4 by ksgeograf, 14 years ago

Resolution: fixed
Status: assignedclosed

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.

Note: See TracTickets for help on using tickets.