Closed matheo closed 7 years ago
For the record, the error is triggered at maReferenceManyFields.js
line 20
I've added the .remoteComplete(true)
option with no joy. The related entries are queried but the error persist. A problem with the dataStore?
In another entity I have a embedded_list
not being filled properly either, the select options are loaded tho, but I cannot select any, a binding problem I think.
Nevermind... my mistake was this line:
.targetEntity(nga.entity('subservices'))
which had to be:
.targetEntity(admin.getEntity('subservicios'))
Scope
reference_may field throwing an exception following the documentation example. I'm using ng-admin 1.0.0
Description
I'm setting up an Array Of Foreign Keys on my Services entity, to edit the related Subservices, but the edition form is throwing a weird error. I'm using the following form for my service:
My MongoDB _ids works ok in the panel in general, but this field type is throwing:
I see that loading the form, the main entity (service) is
GET
ted but also a list of my subservicesGET /rest/subservices?limit=30&skip=0
(cache I think?), then there's a query of the related subservices (or multiple queries ifsingleApiCall
is used, but then comes the exception handling the identifiers :(Steps to Reproduce
I tried to build my App to see if there was a better trace of the error with no joy, I'm thinking that it has something to do with the "_id" that is not being usedd from the configuration.
Any tips are really appreciated!