Attempted password change -> java.lang.UnsupportedOperationException: testing

20 views
Skip to first unread message

Chris Jones

unread,
Mar 13, 2015, 12:22:18 PM3/13/15
to manydesign...@googlegroups.com
I'm guessing that the unsupported operation "testing" indicates that changing password isn't possible, and that this feature was never completed?

2015-03-13 16:15:12,688 INFO  c.m.portofino.actions.user.LoginAction   User 1 lo
gin
Hibernate: select distinct roles0_.[name] as col_0_0_ from [dbo].[roles] roles0_
 cross join [dbo].[roles2users] roles2user1_ cross join [dbo].[users] users2_ wh
ere roles0_.[id]=roles2user1_.[roleId] and roles2user1_.[userId]=users2_.[id] an
d users2_.[id]=?
2015-03-13 16:15:34,680 ERROR c.m.portofino.actions.user.LoginAction   Password
update failed for user 1
java.lang.UnsupportedOperationException: testing
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 ~[na:1.7.0_75]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 ~[na:1.7.0_75]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce) ~[na:1.7.0_75]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_
75]
        at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstru
ctor.java:77) ~[groovy-2.3.6.jar:2.3.6]

Alessio Stalla

unread,
Mar 13, 2015, 12:28:40 PM3/13/15
to manydesign...@googlegroups.com
Nope. That "testing" doesn't come from Portofino, most probably it originates from your Security.groovy.
Password change is possible, but it requires a little plumbing in Security.groovy to work.

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-port...@googlegroups.com.
To post to this group, send email to manydesign...@googlegroups.com.
Visit this group at http://groups.google.com/group/manydesigns-portofino.
For more options, visit https://groups.google.com/d/optout.

Chris Jones

unread,
Mar 13, 2015, 12:53:16 PM3/13/15
to manydesign...@googlegroups.com
This was my own fault, please ignore (I hang my head in shame)
Reply all
Reply to author
Forward
0 new messages