-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL: Pretty Faces URL with Dataverse Alias Bugs #1111
Comments
Also in the header. |
Assigned to @mheppler as these should be straightforward changes in the xhtml pages. |
I've found a few issues related to Pretty Faces URLs, not just the Featured Dataverse links. Here are my notes.
|
The following pages all reference "dataverse.xhtml", and will need to be individually review, so as to consistently use the Pretty Faces URLs for dataverses, across the entire site.
|
…, rather than id. Changed markup of highlighted search terms, to look a little cleaner in the browse/search cards. [ref #1111]
…, to use alias, rather than id, to utilize the Pretty Faces URL. [ref #1111]
…ith the URLs used for dataverses around the site. [ref #1111]
AdvancedSearch.java, dataset.xhtml, dataverse.xhtml, dataverseuser.xhtml, widgets.js, themeAndWidgetsFragment.xhtml -- were all easy changes from id to alias. The rest will require review with a developer. I am editing this list to be two parts. The above pages are easy, these next pages are more complicated.
Nothing needs to be done for:
Was not able to fix:
|
…n order to utilize the Pretty Faces URL. [ref #1111]
Passing to Gustavo to see if he can fix the use of "dataverse.xhtml" on Shib.java.
|
I'm actually going to pass this to @pdurbin, so he can add it how he would prefer (I think the easiest is to just remove the use of homepage and add dataverse.xhtml?alias=XXX in the places it's used). @pdurbin, can you adjust this? the old way "dataverse.xhtml" is not good enough because it does not go through pretty faces. We have another issue #1519 to track how to do this, but for 4.0 we're just changing all those links to include the alias in the query string for the root (which you can get with the DataverseServieBean.findRootDataverse() method). Let me know if you have any questions. |
- #1551 was opened to think about how to have Shib users use the redirectPage logic
As of b6b73f3 Shib users are redirected to the "pretty" URL for the homepage (http://localhost:8080/dataverse/root). There are three possible ways to end up there:
In looking at this @scolapasta and I noticed that Shib users do not benefit from the fancy redirectPage logic developed in #869 for builtin users. We'll decided to open a new ticket at #1551 so that Shibboleth users get feature parity for this feature. For now, Shib users always end up at the homepage, but now it's the "pretty" URL. Passing to QA. |
@kcondon showed me what I need to test for this. |
I have tested different workflows indicated by @mheppler and @pdurbin (Shibb) above for getting to a Dataverse page. I'm seeing all pretty dataverse URLs. Including Widgets which takes you to a URL that looks like this: https://dvn-build.hmdc.harvard.edu/dataverse.xhtml?alias=sonia&q=Sonia Closing. |
When you add/ display a dataverse on the featured dataverse area, the urls are the former, non pretty types.
The text was updated successfully, but these errors were encountered: