http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10773 --- Comment #19 from Chris Nighswonger <cnighswonger@foundations.edu> --- (In reply to Tomás Cohen Arazi from comment #18)
I would say this is an enhancement.
This is not the intended nor expected behavior which makes me lean toward it being a true bug.
But, anyway, Chris N. is about to post a followup with regression tests, so I'll be holding this until then.
FTR, here are my current thoughts on this: This is going to be a bit of a problem to try to mock. Notice here: http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=C4/Labels/Label.pm... we grab all of the data in 4 tables. I know that DBD::Mock allows mocking resultsets, but this would require a significant amount of coding, and it is not clear whether DBD::Mock will handle a join or not. The way I read the docs, it will not. I think the only way to do this is to make it run over a test database which means it will not be run as part of the standard test suite. I will be glad to write up a test for this, but question the value of it if it will not be run as a part of the standard test suite. -- You are receiving this mail because: You are watching all bug changes.