Skip to content

Conversation

@alberto-art3ch
Copy link
Contributor

Description

There is an issue when we are adding a Charge with Tax Group linked and It is not stored due It is not part of request object

FINERACT-2326

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Write the commit message as per https://github.com/apache/fineract/#pull-requests
  • Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.
  • Create/update unit or integration tests for verifying the changes made.
  • Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.
  • Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes
  • Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@AllArgsConstructor
@Getter
@Setter
public final class TaxGroupData {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why to remove Serializable interface?

Copy link
Contributor Author

@alberto-art3ch alberto-art3ch Aug 7, 2025

Choose a reason for hiding this comment

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

@adamsaghy For some reason the Serializable was not serializing the attributes like Id and Name, The same happens with the TaxComponentData class

Copy link
Contributor

Choose a reason for hiding this comment

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

Never heard such thing... Lets connect on this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is an image for this:

Screenshot 2025-08-07 at 7 56 55 p m

Copy link
Contributor

Choose a reason for hiding this comment

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

I think the issue was with the missing setter/getter/constructor, not the Serializable interface. Would you mind to put it back?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! Code updated as It was requested

@alberto-art3ch alberto-art3ch force-pushed the FINERACT-2326/charges_with_tax_group_id_ignored branch from e223ced to 195910d Compare August 8, 2025 21:08
@adamsaghy adamsaghy merged commit 33fae09 into apache:develop Aug 13, 2025
39 checks passed
@adamsaghy adamsaghy deleted the FINERACT-2326/charges_with_tax_group_id_ignored branch August 13, 2025 11:58
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