SwordWeb
  1. SwordWeb
  2. SWEB-5

Oddity using "The Bible Tool" ... "Go to:" doesn't seem to work at first.

    Details

    • Type: Bug Bug
    • Status: Open (View Workflow)
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Labels:
      None

      Description

      I've encountered a problem trying to use "The Bible Tool" to check the ESV. The "Go to:" input field only results in seeing the copyright/publisher information.

      Here are the steps using IE 6 and WinXp Sp2

      • Enter a verse-reference in the "Go to:" input field, such as:
        Genesis 1:1 or Genesis 1 and click on the "go" button.

      Still showing the copyright/publisher information. The URL is:
      http://www.crosswire.org/study/fulllibrary.jsp?key=Genesis+1%3A1

      If I do a search for a word, such as "generation", then I see a list of verses that match. From that point on, the "Go to:" input works ok. The URL is not the same when it works, however.
      http://www.crosswire.org/study/passagestudy.jsp?key=gen+1%3A1

      This seems to happen with all Bible texts, not just the ESV.

      Am I doing something wrong, or leaving out a step?

        Activity

        Hide
        Peter von Kaehne added a comment -

        This appears to be correct and still a problem. It is independent of browser and system

        Show
        Peter von Kaehne added a comment - This appears to be correct and still a problem. It is independent of browser and system
        Hide
        Chris Burrell added a comment -

        Having looked at the HTML source for those two pages, I think the issue is the following (I do not have the jsp/source at the moment).

        The JSP will have the action of the form coded in to be SELF, so that when you are looking at the copyright page, the form action happens to be: fulllibrary.jsp but when you are looking at a passage study, it goes to passagestudy.jsp

        I've never looked at the source code for the web thing (but hope to do sometime soon), but I would expect that the passagestudy.jsp is tied to an action to parse the lookup, where fulllibrary.jsp isn't.

        The fix should therefore be simple enough, changing the form action, so that instead of being SELF (or whatever the JSP variable is - can't remember off hand), to be passagestudy.jsp (or a constant coded reference).

        Or better, have the action that deals with the POST to redirect (302) to the right page is it comes to the full library action.

        Hope this is clear? If not let me know, and I'll try and explain further.

        Code of interest when on copyright page:
        ----------------------------------------------------------
        <form action="fulllibrary.jsp">
        <fieldset>
        <legend>Bible reference:</legend>
        <input name="key" type="text" size="12" /> <button value="go">go</button>
        </fieldset>
        </form>

        Code of interest when on passage study page:
        ----------------------------------------------------------------
        <form action="passagestudy.jsp">
        <fieldset>
        <legend>Bible reference:</legend>
        <input name="key" type="text" size="12" /> <button value="go">go</button>
        </fieldset>

        </form>

        Notice above the two different actions.
        Cheers,
        Chris

        Show
        Chris Burrell added a comment - Having looked at the HTML source for those two pages, I think the issue is the following (I do not have the jsp/source at the moment). The JSP will have the action of the form coded in to be SELF, so that when you are looking at the copyright page, the form action happens to be: fulllibrary.jsp but when you are looking at a passage study, it goes to passagestudy.jsp I've never looked at the source code for the web thing (but hope to do sometime soon), but I would expect that the passagestudy.jsp is tied to an action to parse the lookup, where fulllibrary.jsp isn't. The fix should therefore be simple enough, changing the form action, so that instead of being SELF (or whatever the JSP variable is - can't remember off hand), to be passagestudy.jsp (or a constant coded reference). Or better, have the action that deals with the POST to redirect (302) to the right page is it comes to the full library action. Hope this is clear? If not let me know, and I'll try and explain further. Code of interest when on copyright page: ---------------------------------------------------------- <form action="fulllibrary.jsp"> <fieldset> <legend>Bible reference:</legend> <input name="key" type="text" size="12" /> <button value="go">go</button> </fieldset> </form> Code of interest when on passage study page: ---------------------------------------------------------------- <form action="passagestudy.jsp"> <fieldset> <legend>Bible reference:</legend> <input name="key" type="text" size="12" /> <button value="go">go</button> </fieldset> </form> Notice above the two different actions. Cheers, Chris

          People

          • Assignee:
            Unassigned
            Reporter:
            Lynn Allan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: