Skip to content

[PDI-20318] Change use of Messages from reporting to PDI's BaseMessages #9973

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonjarvis
Copy link
Contributor

When the "Messages" class fails to load the bundle for translation, it causes an error - that was caught, but it forces the default Locale to US. Customers. On the other hand, BaseMessages is what should be used generally with PDI, and it will gracefully "translate" or notify if it doesn't have a translation. No need to change the Locale used for generating reports.

Also - this is required as part of another effort, which will be logged soon.

@jonjarvis jonjarvis requested a review from a team as a code owner April 30, 2025 17:40
Copy link

Passed

Analysis Details

0 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 0 Code Smells

Coverage and Duplications

  • Coverage 57.10% Coverage (28.90% Estimated after merge)
  • Duplications 0.00% Duplicated Code (0.00% Estimated after merge)

Project ID: org.pentaho.di:pdi

View in SonarQube

@buildguy
Copy link
Collaborator

👍 Frogbot scanned this pull request and did not find any new security issues.

Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.


@buildguy
Copy link
Collaborator

✅ Build finished in 25m 43s

Build command:

mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
plugins/pentaho-reporting/impl

👌 All tests passed!

Tests run: 11, Failures: 0, Skipped: 0    Test Results


ℹ️ This is an automatic message

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