Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1645

Tag is not associated when value for optional attributes are not provided for byte ,date, double,float,short,int.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 0.8-incubating
    • None
    • atlas-core
    • None

    Description

      1. Created 8 tags.
      2. Each tag with one attribute of types byte,date, double,float,short,int, string,boolean.
      3. Associated all the tags to an entity one by one without providing any value for the tag attribute.
      4.Only tags with string and boolean as types got associated. Rest of the tag association threw 500 internal server error as empty values are treated as string and are validated against the datatype.
      Trait attribute values are optional ,so empty values should be handled.

      Following types expect value :

      • byte
      • date
      • double
      • float
      • short
      • int

      Attached exception stack trace when associating an entity, a PII tag with attribute id of type int ,with no value for id.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: