[
https://issues.apache.org/jira/browse/ATLAS-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasad P. Pawar updated ATLAS-4736:
-----------------------------------
Attachment: entity_properties_tab_date.png
> 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: 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)