function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
davcondevdavcondev 

selfRegister Lightning Component error: Ending position out of bounds: -1

In a Napili Lightning Community with self-registration enabled, if I replace the standard Self Registration component with the customizable selfRegister component, self-registration fails with an error "Ending position out of bounds: -1".

The only changes I have made are the standard uncommenting (implements and siteforce:registerQueryEventMap).

Is there additional config that needs to be done to make the custom component work? There is a recent StackExchange on this too, does this suggest a recent release has broken the custom component?

https://salesforce.stackexchange.com/questions/178821/class-auth-authconfiguration-ending-position-out-of-bounds-on-aloha-community