Skip to content

UHF-9754: Restore field_api_url for now#999

Merged
hyrsky merged 1 commit intomainfrom
UHF-9754
Jun 10, 2025
Merged

UHF-9754: Restore field_api_url for now#999
hyrsky merged 1 commit intomainfrom
UHF-9754

Conversation

@hyrsky
Copy link
Contributor

@hyrsky hyrsky commented Jun 10, 2025

UHF-9754

I chickened out on the decision to delete field_api_url because if something goes wrong with the update hooks, it makes it much harder to reconstruct the previous settings.

The field is no longer used and should be deleted once the new functionality is validated. Everything in the field_api_url should be migrated to the new fields added in #978.

How to install

  • Find an instance where your database dump is at least two weeks old. Checkout to latest release tag: git checkout 2025-06-04.1.
  • Run: make fresh.
  • Checkout to dev: git checkout dev
  • Update helfi_platform_config: composer require drupal/helfi_platform_config:dev-UHF-9754 -W; composer install

How to test:

  • Run drush updb
  • Run drush helfi:platform-config:update
  • Field api url should not be visible on the paragraph page
  • Field api url should be present in the database: drush sqlq "select * from paragraph__field_api_url;".
  • Code should follow our standards

@hyrsky hyrsky force-pushed the UHF-9754 branch 2 times, most recently from 758a76e to fed9553 Compare June 10, 2025 10:00
I chickened out on the decision to delete field_api_url because if
something goes wrong with the update hooks, it makes it much harder to
reconstruct the previous settings.

The field is no longer used and should be deleted once the new
functionality is validated.
@sonarqubecloud
Copy link

@hyrsky hyrsky merged commit 5286e7e into main Jun 10, 2025
7 checks passed
@hyrsky hyrsky deleted the UHF-9754 branch June 10, 2025 11:24
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