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

Incorrect Message Displayed in Dialog for "Edit" Button in TableColumnPinningView #162

Open
jturfanbasis opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jturfanbasis
Copy link

jturfanbasis commented Jan 13, 2025

showMessageDialog("You asked to edit the record" + 0 + "Edit Record");

Summary

The message dialog for the "Edit" button displays an incorrect message due to a missing reference to the record's number in the code.

Steps

  1. Navigate to the table page.
  2. Click the "Edit" button for any row in the table.
  3. Observe the message displayed in the dialog.

Expected Result:

The dialog should display the correct record number, e.g., "You asked to edit the record 000001 Edit Record".

Actual Result:

The dialog displays the message: "You asked to edit the record0Edit Record", where the record number is missing due to improper concatenation in the code.

Suggestion

Use
showMessageDialog("You asked to edit the record " + e.getItem().getNumber() + " Edit Record");

@jturfanbasis jturfanbasis added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants