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

GEN 1931 - Fix entity link accepted chars #18391

Merged
merged 16 commits into from
Oct 29, 2024
Merged

Conversation

TeddyCr
Copy link
Contributor

@TeddyCr TeddyCr commented Oct 24, 2024

Describe your changes:

  • Fix accepted entityLink characters

    • accept any characters but :: < > and |
  • Fix the API call throwing error in case a special character is in the test suite FQN

Before:

Screen.Recording.2024-10-28.at.9.03.56.PM.mov

After:

Screen.Recording.2024-10-28.at.8.55.36.PM.mov

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Bug fix

  • I have added a test that covers the exact scenario we are fixing. For complex issues, comment the issue number in the test for future reference.

Copy link

@github-actions github-actions bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Oct 24, 2024
pmbrull
pmbrull previously approved these changes Oct 25, 2024
pmbrull
pmbrull previously approved these changes Oct 28, 2024
Copy link
Contributor

The Java checkstyle failed.

Please run mvn spotless:apply in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Java code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

harshach
harshach previously approved these changes Oct 28, 2024
pmbrull
pmbrull previously approved these changes Oct 29, 2024
Copy link
Contributor

The Java checkstyle failed.

Please run mvn spotless:apply in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Java code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

Copy link

Copy link

@pmbrull pmbrull merged commit 4f8bf05 into open-metadata:main Oct 29, 2024
24 of 27 checks passed
harshach pushed a commit that referenced this pull request Nov 3, 2024
* fix: entity link accepted characters

* fix: match all characters but `<>|::`

* fix: remove unnecessary negative lookbehind

* fix the test case search not working on add ingestion page in case of special characters in FQN

* style: ran java linting

* fix: failing testst

* style: ran java linting

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ingestion safe to test Add this label to run secure Github workflows on PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants