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

data: set several minLength to 1 #1479

Merged
merged 1 commit into from
Nov 23, 2020
Merged

Conversation

BadrAly
Copy link

@BadrAly BadrAly commented Nov 20, 2020

For migrating records from Virtua: Sets the
minimum length of the following fields to 1 character:

  • patron.city
  • patron.postal_code
  • patron.street
  • item.barcode

Co-Authored-by: Aly Badr aly.badr@rero.ch

Why are you opening this PR?

https://tree.taiga.io/project/rero21-reroils/task/1884?kanban-status=1224895

Dependencies

My PR depends on the following rero-ils-ui's PR(s):

  • rero/rero-ils-ui#

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?

@BadrAly BadrAly self-assigned this Nov 20, 2020
@BadrAly BadrAly added pilot libraries f: editor Concerns editor based on JSON schema AND custom editor labels Nov 20, 2020
@BadrAly BadrAly force-pushed the baa-min-length-fields branch from 8e49c2e to 934492f Compare November 20, 2020 13:49
@iGormilhit iGormilhit added f: data About data model, importation, transformation, exportation of data, specific for bibliographic data and removed f: editor Concerns editor based on JSON schema AND custom editor labels Nov 23, 2020
@iGormilhit iGormilhit added this to the v0.14.1 milestone Nov 23, 2020
Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

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

Commit message proposition:

data: set several minLength to 1 

Sets the minimum length of the following fields to 1 character:

* patron.city
* patron.postal_code
* patron.street
* item.barcode

Co-Authored-by: Aly Badr <aly.badr@rero.ch>

And a small explanation on why it's needed would be fine. Is it to reflect the actual data?

For migrating records from Virtua: Sets the
minimum length of the following fields to 1 character:
* patron.city
* patron.postal_code
* patron.street
* item.barcode

Co-Authored-by: Aly Badr <aly.badr@rero.ch>
@BadrAly BadrAly force-pushed the baa-min-length-fields branch from 934492f to 4a419e4 Compare November 23, 2020 07:05
@BadrAly BadrAly changed the title patron: minimum length size for some patron fields data: set several minLength to 1 Nov 23, 2020
@BadrAly BadrAly requested a review from iGormilhit November 23, 2020 07:05
Copy link
Contributor

@jma jma left a comment

Choose a reason for hiding this comment

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

The commit message seems too generic. I would merge this PR with: #1476

@BadrAly BadrAly merged commit 9ad79f6 into rero:dev Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: data About data model, importation, transformation, exportation of data, specific for bibliographic data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants