Well, in the grand tradition of talking to myself and  helping my self ;>}
I added the following change to the file:

In SendConfirmationEmail.java at line 83:

removed:     userid = (Integer)(((TurbineUser)data.getUser()).getId());

added:         int tempInt = ((TurbineUser)data.getUser()).getIdAsInt();
added:         userid = new Integer( tempInt );

This got rid of the Exception noted below, but I still never receive
the confirmation e-mail.

Does anyone have e-mail confirmation working ?

Thanks,
Randy

"Randall G. Alley" wrote:

> Exception: java.lang.ClassCastException: java.math.BigDecimal
>         at
> 
>org.apache.jetspeed.modules.actions.SendConfirmationEmail.doPerform(SendConfirmationEmail.java:83)
>
> Line 83 of SendConfirmationEmail.java says:
>
> userid = (Integer)(((TurbineUser)data.getUser()).getId());
>
> Checking BaseObject.java, I find getId() returns type Object.
> So, instead of a cast to Integer, would the following work better?
>
> userid = ((TurbineUser)data.getUser()).getIdAsInt();
>
> Note - getIdAsInt() uses:
> idInt = Integer.parseInt(id.toString())
>
> Thanks,
> Randy
>
> "Randall G. Alley" wrote:
>
> > Thanks for the response, Raphael.
> >
> > Unfortunately, even with the included patched Turbine,
> > I still get the error when Jetspeed tries to do e-mail.
> >
> > Am I the only one getting this ?
> >
> > [EMAIL PROTECTED] wrote:
> >
> > > "Randall G. Alley" wrote:
> > > >
> > > > Has anyone else had this error ?
> > > > Which version of Turbine is Jetspeed 1.3a1 built to use ?
> > > >
> > >
> > > You should use the turbine.jar provided with Jetspeed as it was
> > > generated from Turbine-CVS-12/10/2000 + patches available at
> > > http://java.apache.org/~raphael/turbine/
> > > These patches are now integrated in Turbine. I'll update the Turbine
> > > dependency in Jetspeed this week to use the latest Turbine.
> > > >From this point on, I think we'll try to keep up with Turbine development
> > > but it's not easy since there are no reference points for Turbine
> > > currently.
> > >
> > > --
> > > Rapha�l Luta - [EMAIL PROTECTED]
> > > Vivendi Universal Networks - Services Manager / Paris
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Search: <http://www.mail-archive.com/[email protected]/>
> > > List Help?:          [EMAIL PROTECTED]
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/[email protected]/>
> > List Help?:          [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?:          [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to