Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 0.9.8
-
Fix Version/s: 0.9.9
-
Component/s: o.c.jsword.passage
-
Labels:None
Description
Obadiah is spelled Obdiah and the short form is Obd, for English.
While this is not much of a problem to fix, it uncovered a bigger problem. Which what this bug report is about.
When the index returns a hit it will return an OSIS standard name, which in this case is Obad. However, the osisBooks is never consulted when a supplied verse reference is converted from a string into an object.
OSIS names are independent of locale and should be allowed in all locales. There is a possibility of clashing between a locales name and an OSIS name.
There needs to be a positive relationship between the verse that is hit and the verse that is returned.
But in the case of a user providing input, we need to return the verse that they intended.
One way for this to happen is for the lookup from the search is to use an OSIS parsing mechanism which would not need to consult locale variations of the name.