Project

General

Profile

Actions

Bug #5805

open

Local and Network revisions show at same time in search results

Added by ben leinfelder almost 12 years ago. Updated about 11 years ago.

Status:
In Progress
Priority:
Normal
Category:
morpho - general
Target version:
Start date:
01/23/2013
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5805

Description

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:
1. Save new package to Local+Network
2. Edit title
3. Save only to Network
4. Launch the open dialog and see the two revisions -- the newer network one and the older local one.

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.


Related issues

Blocks Morpho - Bug #5809: Default save behavior to always include local storeNewben leinfelder01/24/2013

Actions
Blocks Morpho - Bug #5860: When morpho saves a network data package to local, the system metadata may contain id (obsoletes) which doesn't existResolvedJing Tao02/11/2013

Actions
Actions #1

Updated by ben leinfelder almost 12 years ago

Now checking if the network revision history has a newer version of the local package.

Actions #2

Updated by ben leinfelder over 11 years ago

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.

Actions #3

Updated by ben leinfelder over 11 years ago

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.

Actions #4

Updated by ben leinfelder over 11 years ago

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"

Actions #5

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5805

Actions

Also available in: Atom PDF