Closed greenlaw110 closed 4 years ago
Suppose there is no role named user is defined, the following code won't report any error and just silently set user role to the current user instance:
role
user
This however caused the trouble in the future:
the error stack is:
Fixed:
Suppose there is no
role
nameduser
is defined, the following code won't report any error and just silently setuser
role to the current user instance:This however caused the trouble in the future:
the error stack is: