Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lauren-d
Copy link
Contributor

@lauren-d lauren-d commented Mar 29, 2022

Co-Authored-by: Lauren-D [email protected]

Why are you opening this PR?

When we do a checkout (or checkin) of a document which de first title isn't a main title, operation logs on loan failed.

How to test?

  • What command should I have to run to test your PR?
  • What should I test through the UI?

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Cypress tests successful?

@lauren-d lauren-d self-assigned this Mar 29, 2022
@github-actions github-actions bot added f: activity-logs Everything around logging user or system activities f: circulation Concerns the circulation interface or backend labels Mar 29, 2022
@lauren-d lauren-d added the bug Breaks something but is not blocking label Mar 29, 2022
* Uses filter to retrieve main title of the document.
* Closes rero#2581.

Co-Authored-by: Lauren-D <[email protected]>
Copy link
Contributor

@zannkukai zannkukai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that any documents required a 'bf:Title' title ? If not, an internal error will occured.

@lauren-d
Copy link
Contributor Author

lauren-d commented Mar 30, 2022

Is that any documents required a 'bf:Title' title ? If not, an internal error will occured.

yes, at least one bf:titletype is required:

@lauren-d lauren-d requested a review from zannkukai March 30, 2022 08:24
@lauren-d lauren-d merged commit 9990793 into rero:staging Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Breaks something but is not blocking f: activity-logs Everything around logging user or system activities f: circulation Concerns the circulation interface or backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The first document title should be of type bf:Title

3 participants