Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: o.c.jsword.book
    • Labels:
      None
    • Environment:

      Windows, Android

      Description

      EsvBook.contains(Isaiah53) returns false in both And Bible and running junits on my Windows pc using a separate install. It is only the ESV that this problem occurs with.

      I don't get this problem in Xiphos so I think it is probably a JSword issue.

      I am using the latest version of JSword from github.

      Here is a junit I used:

      public void testESVIs53() throws Exception {
      	SwordBook book = (SwordBook)Books.installed().getBook("ESV");
      	assertNotNull("ESV not found", book);
      	
      	Version version = (Version)book.getBookMetaData().getProperty("Version");
      	assertEquals("You have a different version of ESV installed", "1.0.1", version.toString());
      
      	Verse isaiah52 = VerseFactory.fromString(book.getVersification(), "Is 52");
      	Verse isaiah53 = VerseFactory.fromString(book.getVersification(), "Is 53");
      	Verse isaiah54 = VerseFactory.fromString(book.getVersification(), "Is 54");
      	assertTrue("Is 52 not found", book.contains(isaiah52));
      	assertTrue("Is 54 not found", book.contains(isaiah54));
      	// fails on the next line
      	assertTrue("Is 53 not found", book.contains(isaiah53));
      }
      

        Attachments

          Activity

            People

            • Assignee:
              dmsmith DM Smith
              Reporter:
              mjdenham Martin Denham
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: