fixup! use getId() instead of __str__.
Showing
-
Owner
In what cases is
getId()
None
(as I believe this is the issue being fixed here) and we need selection to still work for such user ? -
Owner
@vpelletier in case of 'Anonymous User'. See isAnonymous() in the same file.
I found it when I was checking why anonymous selection was not working in my project. Now I wonder why functional tests for anonymous selection were running fine without this change...
Please register or sign in to comment