[pier] Problems with password once magma setup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[pier] Problems with password once magma setup

David Zmick
Pier will not let me change the password now that I have magma set up! Why is this?

--
David Zmick
/dz0004455\
http://dz0004455.googlepages.com
http://dz0004455.blogspot.com


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [pier] Problems with password once magma setup

keith1y
David Zmick wrote:
> Pier will not let me change the password now that I have magma set up!
> Why is this?
>
> --
> David Zmick
> /dz0004455\
> http://dz0004455.googlepages.com
> http://dz0004455.blogspot.com
Because the PRKernel instance in PRKernel instances is only a stub it
has no data... the data is in the database. If you are changing the
password using a doit. It needs to be within a database commit:

I havent got code in front of me, and I am going to be away for a couple
of days... back tuesday

You could use the "magma" control panel, explore the database to get to
the PUUser instance, and in the explorer do

something like this perhaps...

WAMagma forApp: your appName during: [ :sess |
"should give you a session onto your database as configured by your app
name"
sess commit: [ self password: 'newpassword'.  ].
 
]

Keith


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [pier] Problems with password once magma setup

David Zmick
ok, i will try that

On Fri, Aug 22, 2008 at 3:42 AM, Keith Hodges <[hidden email]> wrote:
David Zmick wrote:
> Pier will not let me change the password now that I have magma set up!
> Why is this?
>
> --
> David Zmick
> /dz0004455\
> http://dz0004455.googlepages.com
> http://dz0004455.blogspot.com
Because the PRKernel instance in PRKernel instances is only a stub it
has no data... the data is in the database. If you are changing the
password using a doit. It needs to be within a database commit:

I havent got code in front of me, and I am going to be away for a couple
of days... back tuesday

You could use the "magma" control panel, explore the database to get to
the PUUser instance, and in the explorer do

something like this perhaps...

WAMagma forApp: your appName during: [ :sess |
"should give you a session onto your database as configured by your app
name"
sess commit: [ self password: 'newpassword'.  ].

]

Keith


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki



--
David Zmick
/dz0004455\
http://dz0004455.googlepages.com
http://dz0004455.blogspot.com


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki