Error "Failed to update the SW component tree: 'CssClass' is a duplicate attribute name" when trying to create Managed Software Delivery policies with dependencies.

book

Article ID: 159170

calendar_today

Updated On:

Products

Software Management Solution

Issue/Introduction

 After upgrade from previous version to 7.5, user creates a Managed software delivery policy with a Software Update as an Assosiation and after that when he tries to add a software from the "Software" tab in the policy, receives an error pop up stating "The server failed to update the tree" .

This can be duplicated as follows:

NS Version : 7.5

- Created a Software Package for Microsoft Visual C++ 2010 x64 Redistributable 

Name: Microsoft Visual C++ 2010 x64 Redistributable 
Description: 
Product Name: Software Management 
Folder: \Resource Management\Resources\Software Management\Software Resources\Releases 
Creation Date: Wednesday, January 08, 2014, 6:30 AM 
Modification Date: Thursday, January 09, 2014, 9:13 AM 
Last modified by: <Domain>\Administrator 
Guid: {******-****-4**7-8**3-f************} 

Installation filetype: EXE Software Installation File 
Command Type: Install 
Command Line: "vcredist_x64.exe" 

- Created a MSD for "Microsoft Visual C++ 2010 x64 Redistributable" and named it "Testing Visual C++" 
- After selecting the above Managed Software Delivery (MSD), the Software Tab populates as normal and the tree for Dependency Tasks and Service Pack and Update Tasks show up as per design. 
- Edited the Software Resource and selected the Association type as "Updates (Software Updates)" 
- Added "vcredist_x64_2012Update1-ENU.exe" under "Software resources that update this software resource:" > Saved the Software Resource changes. 
- After selecting the MSD (Testing Visual C++), the Software Tab does not populate and is blank. 

Error noticed in the SMP logs during the issue is: 
"Failed to update the SW component tree: 'CssClass' is a duplicate attribute name. Line 1, position 791. 


 

The issue is not reproducible in clean ITMS7.5 environment with SMP 7.5HF1

 Severity: 1

Critical: False
Date: 10/31/2013 1:04:19 PM
Tick Count: 1131292870
Host Name: *********
Process: w3wp (1616)
Thread: 29
Module: w3wp.exe
Source: Altiris.SoftwareManagementSolution.Web.ManagedDelivery.DetailPages.ctrlTaskComponents.ctrlSWDTreeCallback_Callback
Description: Failed to update the SW component tree: 'CssClass' is a duplicate attribute name. Line 1, position 8601.
**CEDUrlStart** :http://entced.symantec.com/entt?product=SMP&version=7.5.1670.0&language=en&module=CsTTNOgA+YJcicPmOTOdmdzuDU1bdhVIHt39GEvuX51e0LxBdLLAZ7R9xZ51Bu/V&error=-1414924629&build=**CEDUrlEnd**
 

Cause

 It is not supposed to make association between Software Release and Software Update which belongs to Patch Management. In previous versions all PM software components were hidden from UI, thus administrator can only make association between Software Releases (or updates) which were created by Software Management Framework, all other components such as those created by Patch Management must be hidden. 


Apparently in 7.5 new defect was introduced which does not hide Patch Management components therefore allowed unexpected association to be made and caused side effect with Managed Delivery Policy. 

We created engineering escalation to address this defect. 
 

Resolution

 Currently under investigation. 

To resolve problem in customer environment we recommend to remove association between Software Release and Patch Management Software Update. 

Software Updates can be delivered using Software Update Tasks is necessary. 


Applies To

SMP 7.5