You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Prasad P. Pawar (Jira)" <ji...@apache.org> on 2023/03/21 19:31:00 UTC

[jira] [Commented] (ATLAS-4736) Atlas UI: Audit tab reporting a date of 1970 in a few properties.

    [ https://issues.apache.org/jira/browse/ATLAS-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703342#comment-17703342 ] 

Prasad P. Pawar commented on ATLAS-4736:
----------------------------------------

Hi,
Uploaded path had the required fix, the date will be display as per the response value,
if the datatype is date, it will display as per the date format of "atlas.ui.date.format" from session API.

> Atlas UI: Audit tab reporting a date of 1970 in a few properties.
> -----------------------------------------------------------------
>
>                 Key: ATLAS-4736
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4736
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-webui
>            Reporter: Prasad P. Pawar
>            Assignee: Prasad P. Pawar
>            Priority: Major
>              Labels: Atlas-UI, audit
>         Attachments: 0001-ATLAS-4736-Audit-tab-reporting-a-date-of-1970-in-a-f.patch, audit_expand_showing_date_issue.png, entity_audit_tab.png, entity_properties_tab_date.png
>
>
> Create entities using the following data in POST command  with the "typeName" called "DateTimeCheck".
> typedef for "CreateTimeInText", "syncJobUpdateTimeInText" & "syncJobCreateTimeInText" is string.
> {code:java}
> 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
>         }
>     }
> }' {code}
> After the entity is posted, the Atlas audit tab is reporting "CreateTimeInText", "syncJobUpdateTimeInText", and "syncJobCreateTimeInText " created on the year of 1970.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)