| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This avoids errors like "Cannot rewind a generator that was already run" When the first parser has invalid value but everything after it is okay Caught with an integration test in ParserValue API module in Wikibase Bug: T238931
|
That is pretty strange. The generator is wrapped by CachingIterator, so rewind errors should not happen. I'll have a look later today and write some unit tests to get to the bottom of this. |
Sorry, something went wrong.
|
Apparently CachingIterator does not fully cache for partial iterations, hence the error. That makes the code using CachingIterator here pointless, so I've removed it in #180, which fixes the error. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This avoids errors like "Cannot rewind a generator that was already run"
When the first parser has invalid value but everything after it is okay
Caught with an integration test in ParserValue API module in Wikibase
Bug: https://phabricator.wikimedia.org/T238931