Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-DBIx-Class CPAN distribution.

Report information
The Basics
Id: 66772
Status: resolved
Priority: 0/
Queue: Test-DBIx-Class

People
Owner: Nobody in particular
Requestors: colin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.19
Fixed in: 0.20



Subject: reset_schema attempts to drop virtual views
DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db do failed: no such table: sys_time [for Statement "drop table sys_time"] at /home/bfwg/perl5/perlbrew/perls/perl- 5.10.1/lib/site_perl/5.10.1/Test/DBIx/Class/SchemaManager.pm line 188 We have a Result object that is virtual, i.e. the is_virtual is set to 1 and the view_definition is an SQL statement. __PACKAGE__->result_source_instance->is_virtual (1); __PACKAGE__->result_source_instance->view_definition I've made a naive patch that appears to fix the issue for us on github - https://github.com/colinnewell/Test-DBIx-Class. Feel free to use that if you want. I haven't added any tests to your test suite thus far.
Resolved by commit 396166e5873d494ff0258f59eb3208185879d505