-
Notifications
You must be signed in to change notification settings - Fork 16
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
Missing required 'schema.subSchema' option for Object editor #4
Comments
Thanks for reporting this, are you working from MASTER or from npm stuff? I worked on that problem for a while, and thought I had most variants of it worked out. Sorry for the delayed response. I will take a look today if its in master, otherwise I might suggest checking out from master and see if that fixes it. |
I'm working from the MASTER, not from NPM. Thanks for your reply. |
Ok working on it now. Would it be big issue to goto express3 ? Sent from my iPhone On Aug 23, 2012, at 4:06 AM, oori notifications@github.com wrote:
|
I fixed it however a little suboptimally, now it may not work if you don't want a nested field to be shown. However that is a smaller bug than this. I am going to try to redo how I do the field selection, so that I return the whole model, with the unwanted fields deleted, rather than trying to create a parallel object copy with only the selected fields. This may or may not work, but it would be a lot easier to figure out. Let me know if it works for you. I tried to keep express2 compatibility but haven't done a lot of testing on it. |
Thanks for the fix. I've checked it with two simple models and it works fine. Going to Express 3 was not an issue, but upgrading to Mongoose 3 was a bit more pain.. but done.. There are however some bugs after these changes:
Smaller issues specific to your geo-location example:
|
Thanks! let me w how the testing goes. Really would like to hear what your using this for, don't get much feedback. I'll work on the new issues this weekend. -Justin I'll try and fix the mongoose2 issue. Please open an issue. Sent from my iPhone On Aug 25, 2012, at 9:07 AM, oori notifications@github.com wrote:
|
So I just checked in a fix for the edit thing.... As far as the __v: its how mongoose3 keeps track of versions for optimistic I will fix the mongoose2 mers, which I believe shouldn't be too hard. I -Justin On Sat, Aug 25, 2012 at 11:35 AM, Justin Spears speajus@gmail.com wrote:
|
Thanks for the 'no edit' fix. I'm currently building on your bobamo for an administrative interface of an app (which I can not publicly expose at the moment..) Thanks for your efforts! |
Admin consoles are what I've used it for also thanks for sharing. I am planning on adding data level user permissions in the not so distant future. Sent from my iPhone On Aug 25, 2012, at 6:39 PM, oori notifications@github.com wrote:
|
Embeded Arrays (that are not 'ref') don't work properly. You can't add items.
For example: your Geo plugin example --> Create Address --> Click on + Meta Links
You'll get this error:
Uncaught Missing required 'schema.subSchema' option for Object editor backbone-forms.js:1271
I have the same issue with my own models.
Thanks for this great software!
The text was updated successfully, but these errors were encountered: