Custom Selector in ID provider

Hi,

I’m developing a ID provider and want to use Custom Selector in the idprovider XML file but i’m getting an error when adding customselector to the XML config.

The config is taken from http://xp.readthedocs.io/en/stable/tutorials/custom-selector/index.html

Is Custom Selector supported in an ID provider ?

//Runar

It is supported, but your code must be running properly too ofcourse

OK, then I think this is a bug.
I have copied a working custom selector from an contenttype from another application and this gives the same error.

If I use the service URL in the browser it works as expected and returrns JSON in the correct format.

So it seems to be a problem with custom selectors in an ID provider and not in an contenttype.

//runar

Any news on this “BUG” I can’t seem to get this to work and I use Custom Selector in content types and it works there.

//Runar

I just tested and I get the same error as Runar.
I agree it looks like ID Provider selector has not been adapted to handle custom selectors.
I will create a bug issue about it.

1 Like

Hi Runar,

We have now released a version 6.11.1 of Enonic XP which contains several bugfixes, including one for the bug you reported.

You can find more information as well as links to downloads here:

2 Likes

@ase Thanks, will download and test it ASAP.

//runar