
david at kineticode
Mar 12, 2009, 7:26 PM
Post #5 of 8
(1748 views)
Permalink
|
|
Re: Patch to fix accessors in Bric::Biz::Element::Field
[In reply to]
|
|
On Mar 12, 2009, at 6:50 PM, Adrian Yee wrote: >> Sorry, this fell through the cracks, though I know we did discuss >> it when I reviewed your patch. Please do feel free to change these >> methods, provided all tests continue to pass. Have you managed to >> get tests passing yet? > > Yup, got a dev copy installed and got it going, thanks. > > Got some failed tests though: > > t/Bric/Test/Runner....NOK 9403/11815 > # Failed test 'And it should be the right thing' > # at t/Bric/Util/ApacheReq/Test.pm line 23. > # (in Bric::Util::ApacheReq::Test->test_url) > # got: 'http://www.example.com:8080/' > # expected: 'http://www.example.com/' > > Running Bricolage on a different port... Don't do that. ;-P > t/Bric/Test/Runner....NOK 10806/11815 > # Failed test 'Check parse error payload' > # at t/Bric/Dist/Action/DTDValidate/DevTest.pm line 99. > # (in Bric::Dist::Action::DTDValidate::DevTest->test_do_it) > # '/foo/bad.html:14: parser error : Premature end > of data in tag html line 5 > # ' > # doesn't match '(?-xism:^/foo/bad\.html:11: (parser )?error ?: > Opening and ending tag mismatch: br line 10 and p)' > > No clue what these are about. Make sure you're up-to-date with libxml2 and XML::LibXML. > t/Bric/Test/Runner....NOK 11470/11815 > # Failed test 'test_href died (Unable to execute SQL statement: > DBD::Pg::st execute failed: ERROR: duplicate key value violates > unique constraint "udx_server_type__name_site" [for Statement " > # INSERT INTO server_type (id, name, description, > site__id, copyable, publish, preview, active, class__id) > # VALUES > (NEXTVAL('seq_server_type'), ?, ?, ?, ?, ?, ?, ?, (SELECT id FROM > class WHERE LOWER(disp_name) = LOWER(?))) > # " with ParamValues: 1='Bogus1', 2='Bogus ServerType1', > 3='100', 4='0', 5='1', 6='0', 7='1', 8='File System'] at lib/Bric/ > Util/DBI.pm line 1136, <F> line 28. > # > # [lib/Bric/Util/DBI.pm:1136] > # [lib/Bric/Dist/ServerType.pm:2030] > # [t/Bric/Dist/ServerType/DevTest.pm:201] > # [/usr/share/perl5/Test/Class.pm:253] > # [/usr/share/perl5/Test/Class.pm:345] > # [t/Bric/Test/Runner.pm:101] > # > # [lib/Bric/Util/DBI.pm:1137] > # [lib/Bric/Dist/ServerType.pm:2030] > # [t/Bric/Dist/ServerType/DevTest.pm:201] > # [/usr/share/perl5/Test/Class.pm:253] > # [/usr/share/perl5/Test/Class.pm:345] > # [t/Bric/Test/Runner.pm:101])' > # at t/Bric/Test/Runner.pm line 101. > # (in Bric::Dist::ServerType::DevTest->test_href) > > These didn't happen the first time around. There's a few more of > this variety. Huh. That's not good. Sounds like there are some records that aren't getting deleted from the database. Which is odd. Please look and see if you have any records in the server_type table. > I'm pretty sure these aren't linked to my accessor change, so I've > committed those changes. No, likely they're not. Best, David
|