Comments (9)
I also appear as logged in on the settings page, but when I reload the review page, it doesn't recognize me as logged in.
from periodo-client.
"Accept changes?" module appears in Chrome incognito window, but same error as in #304 appears when I attempt to accept the changes.
from periodo-client.
What do you see when you go to this page?
https://client.perio.do/?page=backend-edit&backendID=web-https%3A%2F%2Fdata.perio.do%2F
from periodo-client.
Ah, I see now you said the settings page shows you as logged in. Try clicking the "sign out" link, then signing in again.
from periodo-client.
Note that you can only be logged in to PeriodO from one browser at a time. When you log in, a token is stored in your browser. Logging in from another browser invalidates that token, and creates a new token which is stored in the 2nd browser. If you then go back to the 1st browser, it will think it is logged in (because it has a token) but attempts to submit or accept changes will fail (because the token is no longer valid). Signing out and signing in again should give you a new valid token.
I'm not entirely sure why the settings page shows you as logged in, though, I will have to look into that.
from periodo-client.
If I log into Chrome and go to the review changes page, then log in from another browser, and then go back to the settings page in Chrome, it correctly shows me as logged out. So I'm not entirely sure what's going on here. It would be helpful to watch you do this over Zoom with the Chrome developer tools open.
from periodo-client.
OK, I think I see what the issue is. It's possible to
- visit the patch review page
- leave the page (i.e. to go to the backend settings page)
- logged-in status changes (i.e. sign in or sign out)
- return to patch review page, but it now has a stale
mergeURL
value becauseGetPatchRequest
is not dispatched again when the patch review page is visited the 2nd time.
As a result one can be logged-in and not see the Accept changes?
form (because mergeURL
has a stale null
value), or one can be logged-out and see the Accept changes?
form (which will fail if used, because mergeURL
has a stale non-null
value).
from periodo-client.
Workaround for now when you're getting this problem: do a Reload This Page
(⌘R on macOS) on the patch review page, and it should correctly refresh the mergeURL
and hence properly show/hide the Accept changes?
form. Doing this will not affect your stored data, it just does a reload of the page.
from periodo-client.
Fixed by #305 and deployed to production.
from periodo-client.
Related Issues (20)
- Displayed period should default to selected period when not hovering HOT 2
- What purpose does the "File" data type in the source selection page now serve? HOT 7
- Alternate view of period list, through a settings button as for spatial coverage? HOT 2
- Disallow importing partial datasets from the server HOT 4
- Importing multiple individual authorities to a local data source -- persistent selection
- Putting in a marker for getting Palladio tools working
- Minor UI change to patch review page HOT 2
- Allow N2T URLs when adding Web data sources
- Update gazetteer-handling code to handle latest version of Linked Places Format
- Error accepting changes for patch #281 on patch review page (Mac OS 10.12.6, Firefox 83.0) HOT 2
- Client not displaying in Safari (12.1.2) on Mac (Sierra 10.12.6) HOT 5
- Drawing a box to select places to filter by HOT 2
- Fix map zoom button styling HOT 1
- PeriodO Client not accepting all the changes made to an existing authority HOT 3
- Remove functionality to automatically fill authority source data from a Worldcat URI HOT 1
- Request contact info from submitters who do not have email in ORCID profile HOT 1
- Browser webGL error on up-to-date Firefox on older Windows 10 machine HOT 1
- Show nicer error when attempting to view non-existent authorities or periods HOT 1
- CrossRef DOI lookup doesn't work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from periodo-client.