Daniel Keir Haywood created CAUSEWAY-3802:
---------------------------------------------
Summary: Excel download does not honour whether a property is
invisible
Key: CAUSEWAY-3802
URL: https://issues.apache.org/jira/browse/CAUSEWAY-3802
Project: Causeway
Issue Type: Bug
Components: Core, Ext Wicket ExcelDownload
Affects Versions: 2.1.0
Reporter: Daniel Keir Haywood
Assignee: Daniel Keir Haywood
Fix For: 2.2.0
for example, add the following to `SimpleObject`:
{code:java}
@Property
public String getFoo() {
throw new RuntimeException();
}
@MemberSupport
public boolean hideFoo() {
return true;
}{code}
and add to `SimpleObject.columnOrder.txt`
Now use `SimpleObjects > List All`
the Wicket viewer will render the "foo" column, showing every cell as empty
because the value is hidden.
HOWEVER
attempting to download the Excel spreadsheet will fail - downloads the .xlsx
containing the redirected error html.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)