Closed dustine32 closed 4 years ago
Thanks Dustin ! While you're at it, can you fix the typo 'obsolted' -> obsoleted
Thanks !
Pascale
@pgaudet Sure thing about the typo(s)!
https://github.com/pantherdb/fullgo_paint_update/commit/bb2063cc3b271038cea5fa0c9f9fdf834f14f4da addresses some things related to item 1 above:
obsolescence_date
of newly obsoleted terms will be set to the release date of GO release.obsolescence_date
of ALL obsoleted terms (not just newly obsolete) is no longer overwritten with this release date for every update since I separated the obsoletion query from the regular name, definition, etc. changes update query so that only newly obsoleted terms will have their obsolescence_date
s updated.Above commits https://github.com/pantherdb/fullgo_paint_update/commit/237194bd08cae3995bf8ea2a62537f3a553ffc01 and https://github.com/pantherdb/fullgo_paint_update/commit/78d2c9a051953db3f7604184572e7f0127da1783 should fix items 2-4 as well as the typos mentioned by @pgaudet .
Example discovered by @pgaudet. I found like four things wrong with the update queries handling obsoleted terms:
"[term] is obsoleted and no replaced term, so the annotion to [PTN####] is obsolted"
comment query doesn't even check ANY date so the comment is also repeatedly added every update. You can see this same message repeated:Will fix and test. This example is in PTHR10252.