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

wpid field on papers is not populated when a paper is created #50

Open
kevinreiss opened this issue Feb 8, 2022 · 0 comments
Open

wpid field on papers is not populated when a paper is created #50

kevinreiss opened this issue Feb 8, 2022 · 0 comments
Labels

Comments

@kevinreiss
Copy link
Member

kevinreiss commented Feb 8, 2022

Expected behavior

When you create a new paper, it creates a database row with a non-NULL integer in the wpid column, which then displays as the Number field in the RDF format.

Actual behavior

The wpid value on the new database row is NULL.

Steps to replicate

  1. Start the application locally
  2. In bundle exec rails c, create an admin account for yourself with: User.create(uid: 'my_netid', provider: 'cas', role:'admin')
  3. In your browser, press the "Add New Series" link
  4. Fill out the form
  5. Next to your new series, press the "View Papers" link
  6. Press the "Add New Paper" link
  7. Fill out the form
  8. Go back to the main page that lists your series.
  9. Press the "View RDF" next to your series.
  10. Notice that the RDF data for your series has an empty Number.

Impact of this bug

Not sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants