Problem with projection of unified search result with instances of a interface instead of class

Vote:
 

Hi

I'm trying to do a default projection of a unified search results for all instances of a interface instead of a class, like this:

client.Conventions.UnifiedSearchRegistry
                .ForInstanceOf()
                .ProjectUrlFrom(x => x.MyUrlProperty);
But it crashes with a nullreference. if I do it like this with a Specific class it works:
client.Conventions.UnifiedSearchRegistry
                .ForInstanceOf()
                .ProjectUrlFrom(x => x.MyUrlProperty);
Can this be done? or do I have to create a baseclass instead of a interface?
Thanks in advance!
/Fred
#112569
Oct 30, 2014 11:05
Vote:
 

Hi,

Did you solve this? I'm trying to do the same thing and stumpled upon the exact same error.

/Sebastian.

#114658
Dec 17, 2014 13:59
Vote:
 

Hi Sebastian

No I have not found a soultion for this, in the meantime I have to do this for all the specific classes :/

Please fill me in if you have any progress on this issue

/Fred

#114660
Dec 17, 2014 14:33
Vote:
 

Hi,

I've reported a bug on this. 

Best Regards,
Henrik

#115683
Jan 16, 2015 9:01
Vote:
 

Hi Henrik

Where can I track this bug?

/Fred

#115684
Jan 16, 2015 9:08
Vote:
 

It will be visible in the buglist http://world.episerver.com/support/Bug-list/ soon as '121293: UnifiedSearch fails when using interface projections'

#115686
Jan 16, 2015 9:26
Vote:
 

Hi Henrik

Do you have a link to the spesific bug? I can't seem to find it in the buglist

#120147
Apr 10, 2015 16:28
Vote:
 

Andreas

I think this bug has been solved in a new release of EPiServer, and thats why you cant find it in the bug list anymore. Correct me if I'm wrong Henrik.

/Fred 

#120150
Apr 10, 2015 19:16
Vote:
 

This has been released in http://nuget.episerver.com/en/OtherPages/Package/?packageId=EPiServer.Find&packageVersion=9.1.0.2335. I don't know why it's not showing the the bug list.

#120156
Apr 11, 2015 0:43
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.