cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Audit notes are getting disappear

Audit notes are getting disappear

Below is the bug reported by customer where Audit Notes are disappearing on some inventory items.


Affected version: 2020 R1
Expected fix version: 2020 R3, 2020 R4


Audit Notes are disappearing on some inventory items after publishing.


Steps to reproduce:
1. Login to FlexNet Code Insight 2020 R1
2. Use an empty project with no codebase files and no inventory items.
3. Navigate to Analysis Workbench page and create and save an inventory item without audit notes attached.
4. Now include Audit Notes and save them.
5. Without publishing, close the inventory item and go to the Project Inventory page.
> At this point audit note is getting saved in database under 'AUDITOR_REVIEW_NOTES_' column which can be checked with the following database query:
> " SELECT * FROM pse_inventory_groups WHERE PROJECT_ID_ = “project id ”; "
6. Now go back to Inventory Details page in Analysis Workbench and open the inventory Item created and saved before. Click on the publish button without having clicked on “Notes” tab.
7. At this point the audit note is missing from the database under 'AUDITOR_REVIEW_NOTES_' column.
> " SELECT * FROM pse_inventory_groups WHERE PROJECT_ID_ = “project id”; "
8. Close the inventory item and then navigate to the Project Inventory.
9. Click on the inventory item, and notes are not there.


Expected Result: Audit note should get saved after publishing
Actual Result: Audit note is missing from notes tab after publishing.


The root cause for this is that the notes are overwritten when the Publish button is clicked without the Notes page being opened. As the notes page has not been opened the original notes are not loaded. This results in an empty field being used when writing to the database.

 

Please note this bug has been fixed as apart of 2020 R3 release.

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Dec 08, 2020 04:18 AM
Updated by:
Contributors