Skip to content
This repository was archived by the owner on Apr 18, 2020. It is now read-only.
This repository was archived by the owner on Apr 18, 2020. It is now read-only.

Possible loopback-boot regression #14

Closed

Description

@ritch

/cc @bajtos

{ name: 'AssertionError',
  actual: false,
  expected: true,
  operator: '==',
  message: 'cannot autoAttach model "Email". No dataSource found of type mail' }

This is a regression. I'm guessing it is coming from the new boot() implementation or the new datasources.*.

Activity

  1. bajtos commented on May 29, 2014

    @bajtos
    Member

    Yes, it's coming from app.boot. We can either modify remove loopback.autoAttach from loopback-boot, or add a dummy e-mail connector to datasources.json.

    The message printed to stderr is just a warning, the app works on my machine.

  2. ritch commented on May 29, 2014

    @ritch
    MemberAuthor

    We need to remove autoAttach in 2.x. It is mostly a pain in fixing all the tests that depend on it. We can also fix the global state abuse in the tests at the same time.

  3. added this to the 1.0 milestone on May 30, 2014
  4. self-assigned this
    on May 30, 2014
  5. bajtos commented on Jun 16, 2014

    @bajtos
    Member

    This is fixed as of strongloop/loopback-boot#9.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions