Name:
[15.0][FIX] viin_document: fix unlink document record on form view
State:
Killed
finished in 194m
PR State:
merged
PR Author:
Trần Trường Sơn
PR Author Email:
PR:
#2346
Committer:
Tran Truong Son
Committer Email:
truongson290893@gmail.com
Commit:
8982f5dcdaaaa2ce2954b3ee30864bf1cca49943
Description:
[FIX] viin_document: fix unlink document record on form view
Issue
-----
When deleting a document record, returning to the document page will
result in an error unable to read activities for an undefined value.
Reason
------
When a document record is selected by the user, the system saves that
record in session_storage_doc in sessionStorage. When the document form
view is deleted but not removed from sessionStorage, the system still
attempts to read and update the mail thread for the deleted record,
leading to a cache miss error.
Solution
--------
When deleting a document record in the form view, also delete the
session_storage_doc in sessionStorage to allow the system to reload
Branch:
15.0
Instance ID:
0
Age:
Up-time: