External Issue
Details
Details
Assignee
Unassigned
UnassignedReporter
Andreas Öhlund
Andreas ÖhlundComponents
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created April 12, 2008 at 10:16 PM
Updated July 9, 2008 at 11:39 PM
Resolved June 12, 2008 at 2:28 PM
NH.Search throw an exception when uisng a Guid typ as [DocumentId]
Solution:
I have created a new bridge called GuidBridge and registered it with in BridgeFactory:
public static readonly ITwoWayFieldBridge GUID = new TwoWayString2FieldBridgeAdaptor(new GuidBridge());
...
builtInBridges.Add(typeof(Guid).Name, GUID);
This is my first patch ever so let me know if i'm doing something wrong*