John, Thank you for your persistence. The patch I provided fixed my problem but does not explain why it happens (which is very bothersome). It was even more bothersome to see it work in test mode but not in Rails. Only think I can think of is that Rails may be pulling in a different version (or an associated library may modify it...soap4r for example)... V/R, Pat.
> From: John Mettraux <[EMAIL PROTECTED]> > Reply-To: <[email protected]> > Date: Mon, 8 Oct 2007 21:56:38 +0900 > To: <[email protected]> > Subject: [openwferu-dev] Re: Bug #14382 : Full_dup error for REXML::Text > > > On 10/8/07, John Mettraux <[EMAIL PROTECTED]> wrote: >> On 10/5/07, John Mettraux <[EMAIL PROTECTED]> wrote: >>> On 10/5/07, Pat Cappelaere <[EMAIL PROTECTED]> wrote: >>>> >>>> John, >>>> >>>> This is turning out to be harder that I thought! >>>> Here is what I found after one day of trying to track this down: >>>> It works fine in test mode. >>>> It breaks consistently in my Rails application. >>>> The error is weird as objects are identical: >>>> exception : singleton can't be dumped >>>> >>>> ./script/../config/../vendor/gems/openwferu/lib/openwfe/utils.rb:82:in >>>> `dump' >>>> >>>> It fails on REXML::Text And REXML::Attribute objects in Rails but not in >>>> test mode (rake test TEST=...) >>>> >>>> I am baffled. >> >> Works for me in test mode as well (rake test TEST=...) >> (http://openwferu.rubyforge.org/svn/trunk/densha/test/integration/workitem_xm >> l_test.rb) >> >> I will try in "development". > > Hi Pat, > > I tried within Densha, there were no problems, except when it tried to > save the workitem in the sessions' pstore, at that point it triggered > the singleton can't be dumped error message. I could work that around > by not storing the workitem in the session (bad design anyway). > > Does your patch fix your issue ? > > -- > John Mettraux -///- http://jmettraux.openwfe.org > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
