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

Atlas UI: Audit tab reporting a date of 1970 in a few properties.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • atlas-webui

    Description

      Create entities using the following data in POST command  with the "typeName" called "DateTimeCheck".

      typedef for "CreateTimeInText", "syncJobUpdateTimeInText" & "syncJobCreateTimeInText" is string.

      POST :
      --data-raw ' {
          "entity": {
              "typeName": "DateTimeCheck",
              "attributes": {
                  "syncJobUpdateTimeInText": "2022-12-21 09:01:36 CDT",
                  "UpdateTime": null,
                  "syncJobCreateTimeInText": "2022-12-21 09:01:36 CDT",
                  "syncJobCreateTime": "0",
                  "CreatedByUserId": "admin",
                  "Guid": "cc519d95-5dd5-4646-b1b3-0eae280208e6",
                  "description": "ENTITY_FOR_DATE_TIME_CHECK",
                  "syncJobUpdatedByUserId": null,
                  "CreateTimeInText": "2022-12-21 09:01:36 CDT",
                  "syncJobCreatedByUserId": null,
                  "syncJobType": "fullSync",
                  "syncJobUpdateTime": 1671649924455,
                  "name": "ENTITY_FOR_DATE_TIME_CHECK",
                  "additionalProperties": {
                      "authDatabase": null,
                      "catalogId": "cc519d95-5dd5-4646-b1b3-0eae280208e6",
                      "database": null,
                      "host": null,
                      "ownerId": "1000331095",
                      "ssl": "false",
                      "username": null
                  },
                  "CreatedBy": "1000331095",
                  "CreateTime": 1628085696000
              }
          }
      }' 

      After the entity is posted, the Atlas audit tab is reporting "CreateTimeInText", "syncJobUpdateTimeInText", and "syncJobCreateTimeInText " created on the year of 1970.

      Attachments

        1. entity_audit_tab.png
          81 kB
          Prasad P. Pawar
        2. audit_expand_showing_date_issue.png
          104 kB
          Prasad P. Pawar
        3. entity_properties_tab_date.png
          104 kB
          Prasad P. Pawar
        4. 0001-ATLAS-4736-Audit-tab-reporting-a-date-of-1970-in-a-f.patch
          4 kB
          Prasad P. Pawar

        Activity

          People

            prasadpp13 Prasad P. Pawar
            prasadpp13 Prasad P. Pawar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: