ZCM Inventory reports: Adding or Removing report criteria breaks existing ones for specific field types if '=' and 'not =' are available

  • 7012898
  • 18-Jul-2013
  • 19-Jul-2013

Environment

Novell ZENworks Asset Management
Novell ZENworks Configuration Management

Situation

 Inventory reports, Adding or Removing report criteria breaks existing ones for specific field types if '=' and 'not =' are available.

Status

Reported to Engineering

Additional Information

Steps to duplicate:

Step 1. Create a new report in ZENworks Control Center (ZCC) with any report type that can include Product Type or Product Source fields as a criteria.
 
Step 2. Create at least 3 criteria using the above fields and the 'not =' operator, used the following criteria set as a representative example:

Product Type not = DMI and
Product Type = CDRom and
Product Type = CPU and
Product Type not = Undefined and
Asset Tag (Device) = No Asset Tag

Step 3. Save the report for reference.

Step 4. Edit the report and add a new criteria before the first one in the list.

Resultant criteria set looks like this:

Product Type not = DMI or
Product Type = DMI and
Product Type = CDRom and
Product Type not = CPU and
Product Type = Undefined and
Asset Tag (Device) = No Asset Tag

What is seen is that a new row has been added as the first one, shifting field names and field values down by one row. But the operators have not been changed / shifted for the 'Product Type' fields.

Step 5.  Delete rows from the report criteria set, deleting the first one every time.


Other details:

A.  All criteria are affected where only operators  '=' and 'not =' are available.  Tested with the following Field Types:

Change Type
Change Source
Device (in report)
Distribution
Guest VM Type
Product Source
Product Type
System Chassis

B.  Other criteria are not affected. The above example shows that the ' Asset Tag ' field is not affected by the issue.

C.  The issue is not related to report type.  All Inventory / SW Usage / License reports are affected.

D.  ZENworks Reporting Service (ZRS) is included in this issue.

E.  The issue applies only in reports created from ZCC (issue inherited from the old ZAM UI?).

F.  It applies to both Inventory Only Agents (IOA) and Managed Devices.