-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI - inconsistent display of modifiedOn #651
Comments
Hi @famartinrh, can you have a look at the response from the endpoint? Thanks! |
I guess you are looking for the metadata lookup, here are the response for each version
Version 2
Latest (which should be same as version 2?)
Looks like the bug is modifiedOn not being sent for version 1 and 2 , so the |
There are two bugs identified, we will use this issue to track this bug: |
Good point - perhaps the UI should hide the "modifiedOn" information when displaying a specific version. |
We are working on a new UI design which would solve this issue. :) |
Actually createdOn and modifiedOn are properties in our APIs but we don't have modifiedOn in the database squema. So createdOn column in the database could be understood as "date when artifact version was uploaded". For example: createdOn for the first version of an artifact is the "createdOn" in the API, createdOn for each version of an artifact is the date when that version was uploaded and createdOn for the last version of an artifact is "modifiedOn" in the API. These dates are not updated when modifiying the metadata with the API call for that purpose or from the UI. I'm fine with that. So our API is returning dates correctly, this is not a bug in the backend. But we could improve the UI as Eric pointed out and hide "modifiedOn" for every version that is not "latest". |
Fixed in the PR above. |
Tested using streams based persistence.
Testing the UI I created one artifact and uploaded two versions of it, then I played with the rules configuration to see the createdOn and modifiedOn dates become different. However the modifed on date is not correct in the latest version view (which should be equivalent to version 2 view)
Version 1
Version 2
Version Latest
The text was updated successfully, but these errors were encountered: