Opened 2 years ago

Closed 2 years ago

Last modified 3 weeks ago

#3 closed defect (fixed)

Auto-removal of irrelevant notes

Reported by: Mike Dewhirst Owned by: Mike Dewhirst
Priority: high Version: 0.9.x
Keywords: note irrelevant edited Cc:

Description

The software re-categorises on every save and simultaneously creates the AICIS information notes if they don't already exist.

This means as the Category/bands/items change in response to added or adjusted data - eg varying volumes or perhaps an adjustment to polymer properties, some or all AICIS information notes from previous saves will become irrelevant.

The workaround is to manually delete all AICIS information notes (except for those which have been edited) prior to saving again so only the correct notes get created.

The software should manage that process automatically but MUST NOT remove notes which have been edited in any way by a human.

Change History (3)

comment:1 by Mike Dewhirst, 2 years ago

Owner: set to Mike Dewhirst
Status: newassigned

comment:2 by Mike Dewhirst, 2 years ago

The MUST NOT remove edited notes requirement calls for an additional hidden field within which to keep a "flag" to prove the note or title has not been altered.

We will hash those two fields in a repeatable way as that flag and compare the current hash value with the flag if we find it necessary to delete out-of-date notes. If it is identical we can delete the note without remorse. Otherwise, the user has edited the note and we cannot delete it automatically. However, in that case we should add " - Out-of-date" to the title!

Last edited 3 weeks ago by Mike Dewhirst (previous) (diff)

comment:3 by Mike Dewhirst, 2 years ago

Resolution: fixed
Status: assignedclosed

Deployed the change in 0.9.69. Irrelevant notes as well as useful links are deleted. If such a note has been edited it gets "No longer relevant" appended to the title.

Note: See TracTickets for help on using tickets.