If the User attribute fails to populate, it will block the whole object from updating

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Low
    • None
    • Affects Version/s: 5.12.14
    • Component/s: Assets - Import
    • 2
    • Severity 3 - Minor

      -Issue Summary

      If a User Attribute fails to update, it blocks the import from updating the object completely. In this scenario, there was an incorrect user being pulled and when filtering the User Attribute with the Group setting, the issue prevents the fields from being populated.

      This is the same bug that was previously closed under JSDSERVER-7191

      Expected Results

      The validation errors are logged, and the import skips update for the missing field value. All other attributes on the concerning objects are updated. 

      Actual Results

      The import is blocked and it does not finish updating the affected objects.
      The below exception is thrown in the insight_import.log file:

      2024-11-19 13:12:32,148-0600 insight-InsightImportThreadGroup-worker-thread-0 ERROR jra_adm [c.r.j.p.i.s.i.schema.log.ImportLogger] Failed to update object: Yen Vo (SU-3755), ObjectTypeId: 34, Attributes: (AttributeTypeId: 265, value(s):[-1(1)],AttributeTypeId: 233, value(s):[null(Yen Vo)],AttributeTypeId: 248, value(s):[null(yvo)],AttributeTypeId: 254, value(s):[null(Director of Operations)],AttributeTypeId: 250, value(s):[null(RTS Financial - Operations)],AttributeTypeId: 253, value(s):[null((913) 890-6671)],AttributeTypeId: 249, value(s):[null(JIRAUSER34041)],AttributeTypeId: 252, value(s):[null(Building: 9325 Floor: 6)],AttributeTypeId: 251, value(s):[null(false)]), avatar: false with actions: [UPDATE] due to ValidationInsightException: Validation errors were found: rlabs-insight-attribute-249: ErrorMessage{i18nKey='rlabs.insight.i18n.constraint.violation.ObjectAttributeValueBean.InvalidGroups.Users', parameters=[JIRAUSER34041, jira-rtsemployees], additionalMessage=null};  

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

      Versions Tested

      Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below: 

      Testing Requirements Version Affected Version
      Customers Reported Version 5.12.14 Yes
      Most Recent Bug-Fix Release    
      Previous Major Release    
      Most Recent LTS    
      Previous Supported LTS    
      Other Versions..    
      (Add rows as needed)    

              Assignee:
              Luke Ellis
              Reporter:
              Adrian Castillo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: