Closed beeman closed 7 years ago
The model that gets created got added twice to app.models:
Renaming this definition seems to fix the issue, without further impact.
The way I tested this was to do console.log(Object.keys(app.models)) after loading the app. The result was the following array:
console.log(Object.keys(app.models))
[ 'User', 'AccessToken', 'ACL', 'RoleMapping', 'Role', 'fixtures', 'Fixtures' ].
[ 'User', 'AccessToken', 'ACL', 'RoleMapping', 'Role', 'fixtures', 'Fixtures' ]
After this patch it only appears once as Fixtures.
Fixtures
Hi @beeman, thank you for your contribution, sorry it took so long for me to merge.
The model that gets created got added twice to app.models:
Renaming this definition seems to fix the issue, without further impact.
The way I tested this was to do
console.log(Object.keys(app.models))
after loading the app. The result was the following array:[ 'User', 'AccessToken', 'ACL', 'RoleMapping', 'Role', 'fixtures', 'Fixtures' ]
.After this patch it only appears once as
Fixtures
.