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 display of logical fields in the report #154

Closed
NikitaShchienko opened this issue Mar 13, 2020 · 0 comments
Closed

Incorrect display of logical fields in the report #154

NikitaShchienko opened this issue Mar 13, 2020 · 0 comments
Assignees

Comments

@NikitaShchienko
Copy link
Contributor

Environment

  • Platform version: 7.2

Description of the bug or enhancement

Boolean fields are displayed incorrectly.

Forum: https://www.cuba-platform.ru/discuss/t/otchet-xlsx-vyvodit-pustye-polosy-na-platform-7-2/4022

Minimal reproducible example

  1. Create a new entity with a logical field
  2. Create an edit and view screen for this entity
  3. Create a report for this entity

Entity:

@NamePattern("%s|name")
@Table(name = "TESTREPORTBLANKLINES_TEST_ENTITY")
@Entity(name = "testreportblanklines_TestEntity")
public class TestEntity extends StandardEntity {
    private static final long serialVersionUID = -8663906688552045810L;

    @Column(name = "NAME")
    protected String name;

    @Column(name = "FLAG", nullable = false)
    protected Boolean flag = false;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }
}

Data:
image

Report Template:
image

Report:
image

@gorbunkov gorbunkov assigned t3-cuba and unassigned t2-cuba Jun 29, 2021
@gorbunkov gorbunkov assigned Desire456 and unassigned t3-cuba Jul 12, 2021
@Desire456 Desire456 transferred this issue from cuba-platform/reports Jul 21, 2021
Desire456 added a commit that referenced this issue Jul 22, 2021
@lovtsovaik lovtsovaik assigned owlet1997 and unassigned lovtsovaik Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants