imag/lib
Matthias Beyer 0916c92a18 Bugfix: Rebuild iterator when changing collection
This patch fixes a bug where the following code (here pseudocode) did
the wrong thing:

    store.entries().in_collection("foo").for_each(||...)

because the `.in_collection()` call for the underlying PathIterator
object did not actually re-build the iterator. It only changed the
contained `PathIterBuilder`, but did not call `.build_iter()` on it to
rebuild the iterator object.

The test added with this patch checks whether the iterator does the
right thing.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-15 18:29:15 +01:00
..
core Bugfix: Rebuild iterator when changing collection 2019-02-15 18:29:15 +01:00
domain Do not use deprecated way of checking whether path exists 2019-02-12 19:04:15 +01:00
entry Add feature to trim content on the right 2019-02-11 03:52:04 +01:00
etc Make generate_variants() more flexible 2019-02-11 03:52:04 +01:00