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

Update type attribute with Reserved characters updated the original type as unknown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • trunk
    • 0.7-incubating
    • None
    • None
    • sandbox

    Description

      create a type with required attribute
      try to get this type created - the type data is returned
      try update this type by adding attribute with attribute name consisting of a reserved character eg:test$
      this throws exception.
      Now use to get call to get the previously created type
      Expected:
      The type should not be updated.

      Actual:
      "error": "Unknown datatype: className_update_vsvrbzqaqg",
      "stackTrace": "org.apache.atlas.typesystem.exception.TypeNotFoundException: Unknown datatype: className_update_vsvrbzqaqg\n\tat

      Attachments

        1. ATLAS-476-3.patch
          21 kB
          Hemanth Yamijala
        2. ATLAS-476-2.patch
          21 kB
          Hemanth Yamijala
        3. ATLAS-476.patch
          29 kB
          Hemanth Yamijala
        4. 1.log
          30 kB
          Chethana

        Issue Links

          Activity

            People

              yhemanth Hemanth Yamijala
              ckrishnakumar Chethana
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: