utafrali opened a new pull request, #899:
URL: https://github.com/apache/fesod/pull/899

   ## Purpose of the pull request
   
   Closes #889
   
   Fixes the stack overflow error that happens when exporting POJOs with custom 
converters.
   
   ## What's changed?
   
   The issue was @EqualsAndHashCode trying to hash the entire object graph, 
including parent references. Since WriteSheetHolder has 
parentWriteWorkbookHolder and WriteTableHolder has parentWriteSheetHolder, 
these circular references caused infinite recursion during equals/hashcode 
generation.
   
   Excluded those parent fields from the @EqualsAndHashCode annotation. This 
breaks the circular dependency without affecting the equality logic for these 
holders. Also added tests for the ZonedDateTime converter to make sure custom 
converters work properly with the fix.
   
   ## Checklist
   
   - [x] I have read the [Contributor 
Guide](https://fesod.apache.org/community/contribution/).
   - [x] I have written the necessary doc or comment.
   - [x] I have added the necessary unit tests and all cases have passed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to