Skip to content
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

Book type and status being reset when exiting #416

Open
rupertgatti opened this issue Jul 29, 2022 · 4 comments
Open

Book type and status being reset when exiting #416

rupertgatti opened this issue Jul 29, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@rupertgatti
Copy link
Member

rupertgatti commented Jul 29, 2022

Describe the bug
Reported by James at White Horse Press via email:
I noticed that when navigating away from my test book and then going back to it, it sets the type to “book set” and the status to “recalled” even though I previously set it to “edited book” / “active”. This happens even after I click “save”. Is this as expected?
It seems to happen every time I try it. See attached a screen recording to illustrate. I also tried logging out just after saving, instead of navigating away; and then logging in again; and got the same result.

Screenshots
Video of issue:
https://cloud.copim.ac.uk/apps/files/?dir=/WP5/Thoth%20Users/White%20Horse%20Press&fileid=282484

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@rupertgatti rupertgatti added the bug Something isn't working label Jul 29, 2022
@rhigman
Copy link
Member

rhigman commented Aug 3, 2022

This sounds like it might be related to the Yew bug for which we hoped a workaround would become available after upgrade to v0.19. Implementing the workaround is a priority.

I don't experience the same issue when looking at that book - it consistently shows up as "edited book" / "active" when I've viewed it - so hopefully the database values are correct at least.

@rhigman
Copy link
Member

rhigman commented May 11, 2023

@CameronOBP just reported seeing the same thing for all the books he checked, i.e. all are displayed as "Recalled" (on Safari on a Mac). In a different browser on the same Mac (Brave, a Chrome variant) the display was correct (he checked one book which was "Forthcoming" - I confirmed this was the database value and displayed as such in Firefox on Linux).

He notes North American users are more likely to be on Macs, so more likely to hit this. Didn't realise from the original report that the erroneous behaviour is so consistent!

@tosteiner
Copy link
Member

Not sure if here is the best space to record those, but James Rice/WHP has reported another display issue w. discrepancy between recorded data, and data displayed when opening the Edit view ...

He writes:

I have found another instance of a field that seems to display data other than the ‘true’ data under the surface. Similar to the bug in the book type / status, which we have discussed in the past. This is in the ‘contribution type’ for a contributor. The data seems correct because it correctly says ‘author’ where I would expect it on the main book page; but when you open the ‘edit contribution’ window, it shows as ‘indexer’ even if the true value is ‘author’. See attached a couple screenshots – from our book Contested Mountains, author Rob Lambert; but the same thing is happening on other books too. Oddly, if the true value is ‘Editor’, the bug does not present, and instead the correct value appears on both the main page and in the editing window.

Am attaching his screenshots: 1, 2

@tosteiner
Copy link
Member

In a similar vein, I can report that on my end (using Windows 10 & Firefox), I've got that issue when editing Contributor details, particularly with the Yes/No field marking a Main contribution... i.e. when first recording the Main Contribution as Yes, this subsequently is displayed as No when revisiting the Edit view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants