question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blackbox option doesn't work anymore

See original GitHub issue

Hey,

there’s my schema for collection:

{
  studentId: {
    type: String,
    unique: true
  },
  states: {
    type: Object,
    blackbox: true
  }
}

If I do operation such as:

StudentProgress.update({_id: 'someValidIdHere'}, {$set: {'states.0': 'in-progress'}})

(I do it on client)

I get Uncaught Error: When the modifier option is true, validation object must have at least one operator error

My schema is defined in lib (accessible on client and server both)

I have this error message on client and server both, so it looks like server-side part.

Thanks for great library btw, it’s very helpful and spares me a lot of time.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
aldeedcommented, Apr 11, 2018

The Meteor SimpleSchema package is no longer maintained other than critical fixes to keep it running with each latest Meteor release. Closing non-critical issues in this repo. Anyone who cares about this may do one or more of the following:

  • Switch to the NPM package. Be sure to adjust for the breaking changes. There can be a lot of work involved in switching, but it is worth the effort.
  • If this issue still occurs in the NPM package, submit an issue there. Be sure to include a link to a reproduction repo or a PR that adds a failing test for the issue.
  • If you have more time than money, submit a pull request to resolve any issue labeled “help wanted” in the NPM package repo.
  • If you have more money than time, donate to help support development if you are able
0reactions
mtwalshcommented, Jul 5, 2017

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Black Box Stocks - The Most User Friendly Stock & Option ...
BlackBox, the most user friendly stock and options trading software available! BlackBox Stocks was created by high frequency traders to give you the...
Read more >
How To Use Flow Correctly - A BlackBoxStocks Trading Course
Join BlackBox Today and Receive 28% Off Annual Membership with this discount link!
Read more >
BlackBoxStocks Flow Training - YouTube
Become a member Learn how to trade with the advantage of using BlackBoxStocks Intelligent Options Flow to follow the smart money in real ......
Read more >
Option Flow Crash Course - YouTube
Learn how to analyze BlackBoxStocks option flow to be able to find trades by tracking the big money with Money Flow Mel!
Read more >
Chrome developer tools blackbox option isn't there?
Open chrome settings (or press F1); You will see Blackboxing in the left pane.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found