https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25008

Jonathan Druart <jonathan.dru...@bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #102019|0                           |1
        is obsolete|                            |
 Attachment #102082|0                           |1
        is obsolete|                            |
 Attachment #102083|0                           |1
        is obsolete|                            |

--- Comment #7 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
Created attachment 102086
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102086&action=edit
Bug 25008: Regression tests

This patch highlights a behaviour of Koha::RecordProcessor that is
unexpected: if you change the original options using ->options, the
loaded filters don't pick the change. That's because the filter objects
are loaded on ->new, and they are never updated.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/RecordProcessor.t
=> FAIL: Test prove ->options doesn't update the filters!

Signed-off-by: Jonathan Druart <jonathan.dru...@bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to