Skip to content

Setting a basic EDTF year field value when using devel_generate to generate sample data.#145

Merged
seth-shaw-asu merged 4 commits intoIslandora:2.xfrom
nchiasson-dgi:fix/edtf-sample-year
Jun 11, 2025
Merged

Setting a basic EDTF year field value when using devel_generate to generate sample data.#145
seth-shaw-asu merged 4 commits intoIslandora:2.xfrom
nchiasson-dgi:fix/edtf-sample-year

Conversation

@nchiasson-dgi
Copy link
Contributor

@nchiasson-dgi nchiasson-dgi commented Jun 2, 2025

What does this Pull Request do?

Generates a valid EDTF value for a EDTF Typed field when using devel_generate. Currently a random string value will be generated instead.

How should this be tested?

  • Enable the devel_generate module via /admin/modules admin menu
  • Enable Generate within the devel configuration /admin/config/development/devel/toolbar admin menu
  • Create a field on the islandora content type that uses the EDTF field type.
  • Use Generate to generate content of type Repository Item
  • Data for the field should now be a value between 1600 and 9999 instead of a random string.

Interested parties

@Islandora/committers

@seth-shaw-asu seth-shaw-asu self-requested a review June 11, 2025 17:12
@seth-shaw-asu seth-shaw-asu merged commit f5b4819 into Islandora:2.x Jun 11, 2025
10 checks passed
@nchiasson-dgi nchiasson-dgi deleted the fix/edtf-sample-year branch July 8, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants