Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.0, 2.0
-
Fix Version/s: 1.0.0
-
Component/s: o.c.jsword.passage
-
Labels:None
-
Environment:
Windows XP, Bible Desktop 1.0 and 1.0.4
Description
When you enter an invalid reference, the error report that is returned uses the book name prior to the book you have entered (if you use Genesis, the error given is "Book must be between 1 and 66 (Given 0).").
Example: Enter Mark 22:16.
Error: Chapter should be between 1 and 16 for Matthew (given 22).
This should be Mark, not Matthew.
In addition:
1. Sword handles references with numbers too large by going on to the next chapter, book, etc., ending at Rev 22:21, rather than restricting it like jsword (I think the jsword approach is probably better).
2. The two error messages have one Given in capitals, and one given in lower-case. It would probably be better to be consistent.