[Handel] Latest dev release failing tests

Christopher H. Laco claco at chrislaco.com
Fri May 11 17:44:10 GMT 2007


Jamie Neil wrote:
> Christopher H. Laco wrote:
>>> Class::Accessor::Grouped is 0.05000
>>>
>>
>> Upgrade to CAG 0.05001
>> 0.05000 has a new set_component_class for DBIC, but it's not friendly to
>>  compose_namespace..
> =

> Just doing that now - I guess it hadn't hit the mirror yesterday. :)
> =

> Lots of warnings now about uninitialised values, but all the strict
> errors seem to be gone.

Mostly from Class::Inspectory I'm guessing....
I'm still tracking that one down.


> =

> It's only failing on three tests now:
> =

> t/checkout_process........................Use of uninitialized value in
> hash element at /usr/share/perl5/Class/Inspector.pm line 209.
> Use of uninitialized value in hash element at
> /usr/share/perl5/Class/Inspector.pm line 209.
> =

> #   Failed test 'first name unchanged'
> #   in t/checkout_process.t at line 281.
> #          got: 'ErrorBillToFirstName'
> #     expected: 'BillToFirstName'
> =

> #   Failed test 'last name unchanged'
> #   in t/checkout_process.t at line 282.
> #          got: 'ErrorBillToLastName'
> #     expected: 'BillToLastName'
> =

> #   Failed test 'subtotal is 0'
> #   in t/checkout_process.t at line 285.
> #          got: '5.55'
> #     expected: '0'

No clue. Is this DBIC -current?
There are some transaction changes over the last few days I've not had
time to test against yet.

> =

> [snip]
> =

> t/compat_order_new........................
> #   Failed test in t/compat_order_new.t at line 59.
> #                   'Use of uninitialized value in hash element at
> /usr/share/perl5/Class/Inspector.pm line 209.
> # '
> #     doesn't match '(?-xism:deprecated)'
> =

> #   Failed test in t/compat_order_new.t at line 59.
> #                   'Use of uninitialized value in hash element at
> /usr/share/perl5/Class/Inspector.pm line 209.
> # '
> #     doesn't match '(?-xism:deprecated)'
> =

> #   Failed test in t/compat_order_new.t at line 59.
> #                   'Use of uninitialized value in hash element at
> /usr/share/perl5/Class/Inspector.pm line 209.
> # '
> #     doesn't match '(?-xism:deprecated)'
> =

> #   Failed test in t/compat_order_new.t at line 59.
> #                   'Use of uninitialized value in hash element at
> /usr/share/perl5/Class/Inspector.pm line 209.
> # '
> #     doesn't match '(?-xism:deprecated)'
> =

> [snip]
> =

> t/l10n_lexicon_synced.....................
> #   Failed test 'Handel::L10N::zh_tw has differing number of entries'
> #   in t/l10n_lexicon_synced.t at line 39.
> #          got: '65'
> #     expected: '27'
> =

> #   Failed test 'No entry found for ORDER_CREATE_FAILED_CART_EMPTY in
> Handel::L10N::zh_tw'
> #   in t/l10n_lexicon_synced.t at line 44.
> =

> #   Failed test 'No entry found for CONSTANT_EXISTS_IN_CALLER in
> Handel::L10N::zh_tw'
> #   in t/l10n_lexicon_synced.t at line 44.
> =

> #   Failed test 'No entry found for NO_RESULT_CLASS in Handel::L10N::zh_t=
w'
> #   in t/l10n_lexicon_synced.t at line 44.
> =

> #   Failed test 'No entry found for PARAM1_NOT_HASH_CARTITEM_ORDERITEM
> in Handel::L10N::zh_tw'
> #   in t/l10n_lexicon_synced.t at line 44.
> =

> #   Failed test 'No entry found for COLUMN_NOT_SPECIFIED in
> Handel::L10N::zh_tw'
> #   in t/l10n_lexicon_synced.t at line 44.
> =

> [snip]
> =

> Should these tests pass?

the lexicon should fail for now.
the order stuff may be related to the dbic current transaction
changes... I'll look into that tonight...

The Class::Inspector warnings... I'm still trying to beat down...

> =

> After forcing the install everything looks ok now.
> =

> Many thanks.
> =



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/handel/attachments/20070511/552a37=
89/signature-0001.pgp


More information about the Handel mailing list