Open clairecleveland opened 1 year ago
Need to test to find all of these per PBot A-team comments.
I am not able to reproduce this problem. Leaving Volume blank and hitting Submit results in the message "publicationVolume is a required field".
(note: This message should be replaced with "Volume is a required field." Working on that now.)
Messages tidied up in paleobot/pbot-client@9158de3235264c25c94701c22efd9ef7e5e01a75.
In master and deployed to stage (prod).
I went through and tested all of the reference fields to see where there were any hang-ups or if it was possible to submit without a required field. Everything seems to be ok to me except:
There is also some inconsistency in capitalization of the error messages, see attached screenshot for example. Similar to the "publicationVolume" mentioned above.
Don’t forget you can test using the old site, which is safer.
From: Ellen Currano @.> Date: Friday, February 2, 2024 at 9:31 AM To: paleobot/pbot-dev @.> Cc: Zaffos, Andrew - (azaffos) @.>, Assign @.> Subject: [EXT]Re: [paleobot/pbot-dev] Reference: Add Journal Article does not flag empty Volume field as required when hit submit (Issue #190)
External Email
I went through and tested all of the reference fields to see where there were any hang-ups or if it was possible to submit without a required field. Everything seems to be ok to me except:
There is also some inconsistency in capitalization of the error messages, see attached screenshot for example. Similar to the "publicationVolume" mentioned above. Screen.Shot.2024-02-02.at.9.29.46.AM.png (view on web)https://github.com/paleobot/pbot-dev/assets/72828382/cec79ea3-4911-4b4a-b628-e76fb3c9fcf7
— Reply to this email directly, view it on GitHubhttps://github.com/paleobot/pbot-dev/issues/190#issuecomment-1924219502, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACPQSQ4E5JJXIPSMCIV7IQTYRUIHBAVCNFSM6AAAAAA3JLST7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUGIYTSNJQGI. You are receiving this because you were assigned.Message ID: @.***>
Great point! I will change my testing ways... Does the old site also get updated as Doug does his awesomeness?
That content of the database will be different, but all the functionality/code should be the same.
Cool. I'll move back to the old database to do testing.
Although I will am also starting a push to enter real data while doing some testing and will do that in the real site.
Ellen, all those problems were dealt with yesterday. You must have been on a browser-cached version of the page. Make sure you do a hard refresh of the browser page.
Regarding the dev machine, it is should automatically update with changes to the master branch. However, I have not been able to access it via browser consistently. http://128.196.196.17/, right? It does not always respond. No idea why.
Oh my! I was using a browser cached page. It's a whole new experience today, including green for the workbench heading and gray for explore. Awesome! And the error messages all look great now. And you need to have a title. My null reference also seems to have been deleted.
Oh, wait. I still see "null, 2020" in the list of references, and I can't delete it. I was able to delete one of my own unpublished references that didn't have anything in it, though. Perhaps I will just go back and edit it into something I'd like to keep.
I'm seeing the same connection problem. I'm going to try a simple server restart...
If the Volume field is left blank and you try to submit, it just hangs. There is no warning that the Volume field is required to submit the Reference. Not sure if this is an issue for all of the other reference types as well.