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

UHF-8478: Remove deprecated helfi_rekry_job_search module #342

Merged
merged 4 commits into from
Nov 16, 2023

Conversation

xkhaven
Copy link
Contributor

@xkhaven xkhaven commented Nov 10, 2023

UHF-8478

What was done

  • Removed deprecated field_copied field from node type job_listing
  • Removed deprecated module helfi_rekry_job_search

How to install

  • Make sure your instance is up and running on correct branch.
    • git checkout UHF-8478_Remove_field_copied
    • make fresh
  • Run make drush-cr

How to test

  • Node type job_listing doesn't have field field_copied
  • Module helfi_rekry_job_search is removed
  • Check that code follows our standards

Designers review

  • This PR does not need designers review

Other PRs

Copy link
Contributor

@Jussiles Jussiles left a comment

Choose a reason for hiding this comment

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

Looks good, but I added couple of comments that should be changed. Also functions from module file should be moved under helfi_rekry_content.module

@@ -1,5 +1,5 @@
search_page: '2971'
redirect_403_page: '2971'
redirect_403_page: '4848'
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we don't want to change this value at least with this PR. This change should be reverted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted this config

@@ -323,6 +314,7 @@ datasource_settings:
processor_settings:
add_url: { }
aggregated_field: { }
custom_value: { }
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this change? Is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed this line

*
* Update job search's task area pages metadata.
*/
function helfi_rekry_job_search_page_attachments_alter(array &$attachments) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you move the contents of this file somewhere? These functions are needed and they should be moved under helfi_rekry_content.module

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These codes are now copied to helfi_rekry_content.module

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@Jussiles Jussiles left a comment

Choose a reason for hiding this comment

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

Looks good now! 🦜

@xkhaven xkhaven merged commit 2bf98e3 into dev Nov 16, 2023
3 checks passed
@xkhaven xkhaven deleted the UHF-8478_Remove_field_copied branch November 16, 2023 12:42
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