Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Incorrect display of logical fields in the report #193

Closed
gorbunkov opened this issue Jun 29, 2021 · 2 comments
Closed

Incorrect display of logical fields in the report #193

gorbunkov opened this issue Jun 29, 2021 · 2 comments
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@gorbunkov
Copy link
Contributor

CUBA issue: https://github.com/cuba-platform/reports/issues/253

Description copied from the CUBA issue:

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
Copy link
Contributor Author

@Desire456 After the #195 is fixed, please check the current issue and close it if the problem is solved by the new YARG version

@gorbunkov gorbunkov added this to the 1.1.0 milestone Jul 27, 2021
@gorbunkov gorbunkov added the type: bug Something isn't working label Jul 27, 2021
@lovtsovaik lovtsovaik assigned reznikova21 and unassigned lovtsovaik Sep 24, 2021
@reznikova21
Copy link

Jmix version: 1.1.0-SNAPSHOT - verified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants