Skip to content

[NAE-2101] Release 6.4.2 - #429

Merged
Kovy95 merged 3 commits into
release/6.4.2from
NAE-2101
Apr 7, 2026
Merged

Kovy95 merged 3 commits into
release/6.4.2from
NAE-2101

Conversation

@Kovy95

@Kovy95 Kovy95 commented Apr 7, 2026 •

Copy link
Copy Markdown
Contributor
  • fix vulnerability

Instruction for the developer

For starters, congratulation on opening a PR of your work. I hope you're proud of your work and yourself 😉 .
There are some things you need to do before this PR is submitted, so read carefully.

First, set yourself as an assignee. You can also add other people responsible for code in this PR (i.e. your team lead).

Then set reviewers. There should be at least two reviewers. You can set your team lead, projects owner, or senior developer
(after his or her agreement, of course) as a PR reviewer.

The last element on the right panel are labels. Labels should be based on what type of change the PR brings to the table.
You can add one or more labels that apply to the PR:

  • Bugfix (a change that fixes a bug)
  • New feature (a change that introduces new functionality)
  • Improvement (a change that improves on an existing feature)
  • Breaking change (fix or feature that would cause existing functionality doesn't work as expected)
  • Documentation update (a change makes, or requires, change to the product documentation)
  • New Dependency (a change that introduces new third-party dependency)
  • Critical (a change that is critical to a release and must not be omitted)

Next thing, please read and edit the PR description below the following way:

  • If a statement is between < > symbols, replace it with your content according to the instructions in the statement.
  • If a slash / is between two statements, choose to fill only one or the other.
  • To reference a JIRA issue, use the issue key wrapped by [ ] brackets.
  • To mention someone (or team), use at @ symbol.
  • To reference specific code, use an absolute link to the source code file with suffix #L and the number of the desired line of code.

For whole markdown documentation please read GitHub Markdown.

If you read these whole instructions and have done everything, you are the best 👍 .
You can now safely delete all between two horizontal lines, so the instructions don't look bad in your PR.


Description

<Fixes [JIRA-ISSUE]>/<Implements [JIRA-ISSUE]>

Dependencies

Third party dependencies

Blocking Pull requests

<Depends on #(PR id)>/

How Has Been This Tested?

  • <Name of a test [test file](link to the test file)>

Test Configuration

<Please describe configuration for tests to run if applicable, like program parameters, host OS, VM configuration etc.>

Name Tested on
OS
Runtime
Dependency Manager
Framework version
Run parameters
Other configuration

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes have been checked, personally or remotely, with @...
  • I have commented my code, particularly in hard-to-understand areas
  • I have resolved all conflicts with the target branch of the PR
  • I have updated and synced my code with the target branch
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes:
    • Lint test
    • Unit tests
    • Integration tests
  • I have checked my contribution with code analysis tools:
  • I have made corresponding changes to the documentation:
    • Developer documentation
    • User Guides
    • Migration Guides

Summary by CodeRabbit

  • Bug Fixes
    • XLS export is more robust: filter queries that are missing or blank are now handled gracefully to prevent export errors.
  • Chores
    • Updated internal MongoDB connector to the latest patch release for improved stability and maintenance.

- fix vulnerability
@Kovy95 Kovy95 self-assigned this Apr 7, 2026
@coderabbitai

coderabbitai Bot commented Apr 7, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Kovy95 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 23 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 6 minutes and 23 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a6d40820-ecf2-4843-8bdf-d4ab15096837

📥 Commits

Reviewing files that changed from the base of the PR and between a43357c and 6eb1126.

📒 Files selected for processing (1)
  • src/main/java/com/netgrif/application/engine/export/service/XlsExportService.java

Walkthrough

Updated a Maven dependency version in pom.xml and added a defensive null/blank check in XlsExportService.getProcessIdentifierFromFilteredRequest(...) to return an empty string when the request query or its first element is missing or blank.

Changes

Cohort / File(s) Summary
Dependency Version Update
pom.xml
Bumped com.netgrif:quartz-mongodb-connector from 1.0.0 to 1.0.1.
Export service defensive check
src/main/java/com/netgrif/application/engine/export/service/XlsExportService.java
Added null/blank checks for request.getQuery() and its first element's query; returns "" when missing instead of parsing a null value.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'NAE-2101 Release 6.4.2' is vague and does not clearly describe the actual changes made (dependency update and null pointer fix). Consider a more descriptive title that reflects the primary changes, such as 'NAE-2101 Fix null pointer in XlsExportService and update quartz-mongodb-connector dependency' or focus on the main issue being addressed.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@pom.xml`:
- Around line 478-482: Update the PR description to fully document the
vulnerability fix: cite the CVE or advisory (if available) and/or a short
description of the vulnerability affecting the
com.netgrif:quartz-mongodb-connector dependency, state that version 1.0.1 (as
shown in the dependency block for com.netgrif:quartz-mongodb-connector) is the
patched version, describe the impact on affected systems/functionality, list the
verification steps and tests performed to validate the fix, and note any
required configuration or code changes and backward-compatibility
considerations.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 01b95c1b-fb36-496c-a12a-dedf1ba35830

📥 Commits

Reviewing files that changed from the base of the PR and between 80ae7fd and d043145.

📒 Files selected for processing (1)
  • pom.xml

Comment thread pom.xml Resolved
coderabbitai[bot]
coderabbitai Bot previously approved these changes Apr 7, 2026
- fix null pointer

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@src/main/java/com/netgrif/application/engine/export/service/XlsExportService.java`:
- Around line 238-240: The current guard that checks request.getQuery() misses
the case where request.getQuery().get(0) is null; update the conditional around
the early-return to first retrieve the first element (or check
request.getQuery().get(0) != null) and ensure that the element itself is not
null before dereferencing its query field: i.e., confirm request != null,
request.getQuery() is non-empty, request.getQuery().get(0) != null, and that
request.getQuery().get(0).query is not null/blank before proceeding; if any of
those fail, return "" (this affects the null-check block using
request.getQuery() and the first element's query).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: b671819b-7745-425c-8b07-13b75a50f14d

📥 Commits

Reviewing files that changed from the base of the PR and between d043145 and a43357c.

📒 Files selected for processing (1)
  • src/main/java/com/netgrif/application/engine/export/service/XlsExportService.java

- fix null pointer
@Kovy95
Kovy95 merged commit 290f573 into release/6.4.2 Apr 7, 2026
4 of 5 checks passed
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.

1 participant