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

All cells are nulls if setter returns anything but void #47

Open
YaroValentine opened this issue Apr 26, 2022 · 1 comment · May be fixed by #60
Open

All cells are nulls if setter returns anything but void #47

YaroValentine opened this issue Apr 26, 2022 · 1 comment · May be fixed by #60
Assignees

Comments

@YaroValentine
Copy link

The following code will read rows and cells but will not map them to the class if setCaseId returns link to itself.

@Sheet
public class **Table** {
    @SheetColumn("Case ID")
    private String caseId;

    public String getCaseId() {
        return caseId;
    }

    public **Table** **setCaseId**(String caseId) {
        this.caseId = caseId;
        **return this;**
    }
}
millij added a commit that referenced this issue Jul 22, 2024
@millij millij self-assigned this Jul 22, 2024
@millij
Copy link
Owner

millij commented Jul 22, 2024

@YaroValentine
We're using apache commons-beanutils for recognizing bean methods. Hence the issue. Refer to the below link
https://stackoverflow.com/questions/42244023/commons-beanutils-if-set-method-return-is-this-model-cant-get-writemethod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants