[CDBI] Re: Class::DBI internal column swapping wierdness ?

[prev] [thread] [next] [Date index for 2005/09/29]

From: "Richard.Foley
Subject: [CDBI] Re: Class::DBI internal column swapping wierdness ?
Date: 15:37 on 29 Sep 2005
--=_2e76f45818b53db365008ddec125b7c3
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit


What a lot of doubting Thomas' - here you go :-)

  EnabledDisabled.pm and YesNo.pm attached.

As you can see, they're nearly completely empty and should not explain
such wierd behaviour.  Again, if the problem were related to the code,
(in these 2 nearly empty modules), why should the behaviour go away,
when I reload the object from the database with an explicit retrieve().

...?

        -- 
        Ciao
Richard Foley
Ciao - shorter than aufwiedersehen

http://www.apress.com/book/bookDisplay.html?bID=399
http://www.oreilly.com/catalog/perldebugpr/ 

-----Original Message-----
> Date: Thu, 29 Sep 2005 16:51:08 +0200
> Subject: Re: Class::DBI internal column swapping wierdness ?
> From: Michael Peters 
> To: Richard.Foley@xxx.xxx

> 
> 
> Richard.Foley@xxxxxxxx.xx wrote:
> > Michael,
> > 
> > These 2 packages are almost completely empty, and do not refer to
> > any other tables themselves.  They cannot, of course, because they
> > are being used by multiple other tables/modules by different names,
> > in a one-way relationship.
> > 
> 
> And you're sure that these two classes (Att::EnabledDisabled and
> Att::YesNo) aren't the problem? If you don't mind, please show their
> code.
> 
> 
> > I have not seen this behaviour before, although it
> > appears to be consistent now that I have found this single record
> > behaving in this manner, repeatedly.  I'm quite prepared to believe
> > I'm doing something daft, but it doesn't look like it, yet, (famous
> > last words...)  It's very wierd.
> > 
> 
> Does it just behave differently for certain records? or certain
> tables? Are these 2 classes (Att::EnabledDisabled and Att::YesNo) used
> anywhere else?
> 
> --
> Michael Peters
> Developer
> Plus Three, LP
> 
> 
> 

--=_2e76f45818b53db365008ddec125b7c3
Content-Type: text/plain; name="YesNo.pm"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="YesNo.pm"

PWhlYWQxIE5BTUUKCkF0dDo6WWVzTm8gLSBZZXNObyBtZXRob2RzIGZvciBBdHQKCj1jdXQKCnBh
Y2thZ2UgQXR0OjpZZXNObzsKCnVzZSBzdHJpY3Q7CnVzZSBiYXNlIHF3KEF0dDo6RGJpKTsKCj1o
ZWFkMSBERUZJTklUSU9OUwoKPW92ZXIgNAoKPWl0ZW0gdGFibGVuYW1lCgo9Y3V0CgpfX1BBQ0tB
R0VfXy0+dGFibGUgICgneWVzbm8nKTsKCj1pdGVtIHByaW1hcnkga2V5Cgo9Y3V0CgpfX1BBQ0tB
R0VfXy0+Y29sdW1ucyhQcmltYXJ5CT0+IHF3KG5hbWUpKTsKCj1pdGVtIGVzc2VudGlhbCBjb2x1
bW5zCgo9Y3V0CgpfX1BBQ0tBR0VfXy0+Y29sdW1ucyhFc3NlbnRpYWwgICAgPT4gcXcoCiAgICBj
cmVhdGVkIGNyZWF0ZWRfYnkgbW9kaWZpZWQgbW9kaWZpZWRfYnkKICAgIHRpdGxlCikpOwoKc3Vi
IGlzYWZsYWcgeyByZXR1cm4gMSB9Cgo9YmFjawoKPWN1dAoKMDEwMTsKCg==
--=_2e76f45818b53db365008ddec125b7c3
Content-Type: text/plain; name="EnabledDisabled.pm"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="EnabledDisabled.pm"

PWhlYWQxIE5BTUUKCkF0dDo6RW5hYmxlZERpc2FibGVkIC0gRW5hYmxlZERpc2FibGVkIG1ldGhv
ZHMgZm9yIEF0dAoKPWN1dAoKcGFja2FnZSBBdHQ6OkVuYWJsZWREaXNhYmxlZDsKCnVzZSBzdHJp
Y3Q7CnVzZSBiYXNlIHF3KEF0dDo6RGJpKTsKCj1oZWFkMSBERUZJTklUSU9OUwoKPW92ZXIgNAoK
PWl0ZW0gdGFibGVuYW1lCgo9Y3V0CgpfX1BBQ0tBR0VfXy0+dGFibGUgICgnZW5hYmxlZGRpc2Fi
bGVkJyk7Cgo9aXRlbSBwcmltYXJ5IGtleQoKPWN1dAoKX19QQUNLQUdFX18tPmNvbHVtbnMoUHJp
bWFyeQk9PiBxdyhuYW1lKSk7Cgo9aXRlbSBlc3NlbnRpYWwgY29sdW1ucwoKPWN1dAoKX19QQUNL
QUdFX18tPmNvbHVtbnMoRXNzZW50aWFsICAgID0+IHF3KAogICAgY3JlYXRlZCBjcmVhdGVkX2J5
IG1vZGlmaWVkIG1vZGlmaWVkX2J5CiAgICB0aXRsZQopKTsKCnN1YiBpc2FmbGFnIHsgcmV0dXJu
IDEgfQoKPWJhY2sKCj1jdXQKCjAxMDE7Cgo=
--=_2e76f45818b53db365008ddec125b7c3
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

--=_2e76f45818b53db365008ddec125b7c3--



[CDBI] Re: Class::DBI internal column swapping wierdness ?
"Richard.Foley 15:37 on 29 Sep 2005

Generated at 10:29 on 10 Oct 2005 by mariachi v0.52