Unable to save changes under 'Package file deleted from the client if unused for' for image packages
search cancel

Unable to save changes under 'Package file deleted from the client if unused for' for image packages

book

Article ID: 224097

calendar_today

Updated On:

Products

Deployment Solution

Issue/Introduction

After upgrading to ITMS 8.6 GA release (also known as the RTM release), you can't change when an image package under Image Management can be deleted. By default it is set to "1 week" but this needs to change to "Never Delete"

Issue description: 

  • Changing the 'Package file deleted from the client if unused for' doesn't work for Image files
  • The administrators can't change the ‘Package files will be deleted from the client computer if unused for’.
  • After Saving and checking it again (refreshing it), it again shows the previous entry.
  • The problem is just with the image file found in the SMP Console under settings>Deployment>Image management

The following has been done:

  • Tried with a different admin account and different browsers.
  • No errors are in the NS logs that shows if it fails to save the change.
  • Issue is just with image packages! This was tried with other packages, including patch packages, and it always works fine. 

Environment

ITMS 8.6

Cause

Unknown. Possible issue with the web browser and how the request is handled.

Broadcom Developers decided to remove the option "Control disabled for Deployment Solution Package Server images" from the page since it is irrelevant for external packages.

It appears that when Save is selected on the page that the specified setting is ignored for external packages. This is expected behavior.

Resolution

NOTE: The drop-down option for ‘Package files will be deleted from the client computer if unused for’ was removed in ITMS 8.6 RU2.

There is a workaround to manually change the selected frequency directly on the database as shown here:

  1. Grab the GUID of the desired image package:



  2. Using the GUID for the Image package that you want to change the frequency, just add it into the following query:

    --This query updates the table where the interval is stored. This query changes the interval of "10080" (1 week) to "-1" (Never Delete). 

    update RM_ResourcePackage
    set state = replace (cast (state as nvarchar (max)), '<deleteAfterInterval>10080</deleteAfterInterval>', '<deleteAfterInterval>-1</deleteAfterInterval>')
    where GUID = 'AddGUIDhere'

  3. Refresh the page and it should now show the new interval of "Never Delete"