Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't locate object method "info" via package "Yancy::Model::Schema" #140

Open
eserte opened this issue Dec 4, 2021 · 0 comments
Open

Comments

@eserte
Copy link

eserte commented Dec 4, 2021

On some of my smokers the test suite fails:

x-view is deprecated and will be removed in v2. Use Yancy::Model or your database's CREATE VIEW instead. at /usr/home/cpansand/.cpan/build/2021120405/Yancy-1.085-1/blib/lib/Yancy/Model/Schema.pm line 283.
t/api.t ...................... ok
Can't locate object method "info" via package "Yancy::Model::Schema" at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/Yancy/Plugin/OpenAPI.pm line 239.
t/app.t ...................... 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
DBIx::Class::Storage::DBI::SQLite::_dbi_attrs_for_bind(): Non-integer value supplied for column 'me.id' despite the integer datatype at /usr/home/cpansand/.cpan/build/2021120405/Yancy-1.085-1/blib/lib/Yancy/Backend/Dbic.pm line 174
datatype mismatch: bind param (0) DOES_NOT_EXIST as integer at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/DBIx/Class/Storage/DBI.pm line 1958.
datatype mismatch: bind param (0) DOES_NOT_EXIST as integer at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/DBIx/Class/Storage/DBI.pm line 1958.
datatype mismatch: bind param (0) DOES_NOT_EXIST as integer at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/DBIx/Class/Storage/DBI.pm line 1958.
datatype mismatch: bind param (0) DOES_NOT_EXIST as integer at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/DBIx/Class/Storage/DBI.pm line 1958.
datatype mismatch: bind param (0) DOES_NOT_EXIST as integer at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/DBIx/Class/Storage/DBI.pm line 1958.
datatype mismatch: bind param (0) DOES_NOT_EXIST as integer at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/DBIx/Class/Storage/DBI.pm line 1958.
t/backend/dbic.t ............. ok
...
        #   Failed test 'error message is useful'
        #   at t/plugin/editor.t line 141.
        #                   'Can't locate object method "info" via package "Yancy::Model::Schema" at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/Yancy/Plugin/OpenAPI.pm line 239.
        # '
        #     doesn't match '(?^u:Column "[^']+" in x-list-columns does not exist)'

        #   Failed test 'error message is useful'
        #   at t/plugin/editor.t line 162.
        #                   'Can't locate object method "info" via package "Yancy::Model::Schema" at /usr/perl5.32.1Dp/lib/site_perl/5.32.1/Yancy/Plugin/OpenAPI.pm line 239.
        # '
        #     doesn't match '(?^u:Column "[^"]+" in x-list-columns template does not exist)'
        # Looks like you failed 2 tests of 4.

    #   Failed test 'x-list-columns that don't exist'
    #   at t/plugin/editor.t line 164.
    # Looks like you failed 1 test of 1.

#   Failed test 'config sanity checks'
#   at t/plugin/editor.t line 166.
# Looks like you failed 1 test of 4.
t/plugin/editor.t ............ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant