You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2025/01/04 22:46:00 UTC
[jira] [Closed] (CAUSEWAY-3802) Excel download does not honour whether a property is invisible
[ https://issues.apache.org/jira/browse/CAUSEWAY-3802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Keir Haywood closed CAUSEWAY-3802.
-----------------------------------------
Resolution: Fixed
> 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, 3.1.0
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Minor
> Fix For: 3.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)