Skip to content

Bug: undefined model method should throw exception #2688

Description

@orfaust

CI Model prevents exception when you call a model->method that hasn't been defined

reproduce with:
model('ExistingModel')->undefinedMethod();

response should be "Exception: Call to undefined method App\Models\ExistingModel::undefinedMethod"

Here is a temporary FIX https://forum.codeigniter.com/thread-75720.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions