Closed mbjones closed 5 months ago
Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2013-02-18T19:55:33Z
Now checking if the network revision history has a newer version of the local package.
Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2013-02-19T01:23:17Z
When there are many local documents, it can take a long time to check the network for newer versions of the document. I'm not yet sure how to get around this. We can't really cache the SystemMetadata where obsoletedBY is stored since SM is mutable. We could invert it so the Network results are examined to see if there are local objects in the results that are obsolete, but we'd still be looking at a lot of recursive calls to MN.getSystemMetadata() to find out this information.
Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2013-02-21T23:36:18Z
Jing's idea is to process the network search results to see if the local hits are in the older versions of the network matches. This should make the open dialog perform much more quickly, but it could make network search results take even longer to appear.
Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2013-02-22T07:02:36Z
Now only filtering if there are network results to filter. This is an improvement, but still means we check if the network version obsoletes the local version for all local docs. I am also thinking we should just take out the network search that happens when you use Open and are logged in. Why not just use the search panel for this? Maybe add a checkbox for "include only packages I own"
Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:31:44Z
Original Bugzilla ID was 5805
Author Name: ben leinfelder (ben leinfelder) Original Redmine Issue: 5805, https://projects.ecoinformatics.org/ecoinfo/issues/5805 Original Date: 2013-01-23 Original Assignee: ben leinfelder
I can see an older local version of a package in the search results along with the newer network version by doing the following steps:
This is somewhat accurate in that it captures exactly what versions are store where, but I do not think we want this behavior. Only the network (newest) revision should show. This may just be a search result merge issue.