Psychoanalytic-Electronic-Publishing / PEP-Web-User-Interface

Single Page App Graphical User Interface for PEP-Web
1 stars 0 forks source link

Internal Roman Page number links don't work...external do. #744

Open nrshapiro opened 1 year ago

nrshapiro commented 1 year ago

@SophieMBennett @davidtuckett @ocappello @jordanallen-dev

Problem Summary: A. Internal Roman Links (within the same instance) do not work.
B. External Roman links (to another instance) do.
C. Right click, select Open link in new tab doesn't seem to work for anything, producing 404 errors each time. D. All links in a single instance book (IPL.107.0001A), roman or not, seem to work fine, except for right click, open in new tab, which still gives a 404 error.

Looking at: IPL.094.0000A

  1. Click on page xv, nothing happens. Here's the XML:
image
  1. Scroll down to page 15.

  2. Press Refresh:

Document refreshes and scrolls down to page 14, and shows the URL:

https://pep-web.org/search/document/IPL.094.0000A?index=22&page=PR0014&q=IPL.094.0000A

  1. Go to the top of the document. click on page xv in the TOC

It doesn't do anything.

Right click xv and copy the link. Paste it in a new tab and It shows:

https://pep-web.org/search/document/IPL.094.0000A?index=22&page=PR0007&q=IPL.094.0000A#/Document/IPL.094.0000A.PR0015

  1. Go back to the tab with IPL.094.0000A. Right click on roman page xv and select and select open link in new tab.

That gives a 404 error. The URL bar shows:

https://pep-web.org/search/document/IPL.094.0000A/Document/IPL.094.0000A.PR0015?index=22&page=PR0007&q=IPL.094.0000A

NOW:

1) Go to https://pep-web.org/search/document/SE.024.0000A

2) Try either roman link. They go to a different instance, and they both work! For Page ix, the URL bar shows:

https://pep-web.org/browse/document/SE.024.R0007A?page=PR0007

3) Right click on Roman page vii and select copy. You get this:

https://pep-web.org/search/document/SE.024.0000A?page=PR0004#/Document/SE.024.R0007A.PR0007

4) Right click on Roman page vii and select open link in new tab.

You get a 404 error, with the URL showing this:

https://pep-web.org/search/document/SE.024.0000A/Document/SE.024.R0007A.PR0007?page=PR0004

NOW:

1) https://pep-web.org/browse/document/IPL.107.0001A --this is a non-split book 2) click on roman page xii --it works! As do all the page links in the TOC. 3) But the URL https://pep-web.org/browse/document/IPL.107.0001A?page=PR0007

    hasn't been updated.  But if you scroll about three lines, it changes to 

 https://pep-web.org/browse/document/IPL.107.0001A?page=PR0013

copying the link address, shows:

https://pep-web.org/browse/document/IPL.107.0001A?page=PR0007#/Document/IPL.107.0001A.PR0012

Pasting this into a new tab gives a 404 error

3) Scroll back to the top, right click on roman page xii, and select "open link in another tab" 404 error again.

Here's what the XML looks like in the single instance TOC:

image