Jump to content

Long (?) selector on customized User Template - no get() or find()


Eltom
 Share

Recommended Posts

Hi all,

given that "customfield" is unique without spaces and 64 characters long, this returns a null page:

$myuser = $users->get("customfield=eebc849774d363186b6ebc4e3bc86a03be2a03b6d4411a4a91b3a70faa4a39b2");

The page/user still exists with that equation ("customfield" is set to "Text" and added to the Users-Template, in Admin the user is shown with the right "customfield".

Is there a maximum parameter size for a selector?

Regards, Thomas

  • Like 1
Link to comment
Share on other sites

Tested out and I was able to duplicate here. It looks like we had a 50 character max limit for queries sent to the fulltext index. I have updated this to be 500 (consistent with the selector engine's max value length) on the dev branch. That seems to fix it here. 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...