[
https://issues.apache.org/jira/browse/CAUSEWAY-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber resolved CAUSEWAY-3554.
----------------------------------
Resolution: Resolved
If at runtime an empty string is encountered this now results in direct
feedback to the user and also an error log entry.
> Framework should throw a more meaningful exception, when validateXxx support
> method returns an empty string.
> ------------------------------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3554
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3554
> Project: Causeway
> Issue Type: Improvement
> Affects Versions: 2.0.0-RC2
> Reporter: Hao S
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC3
>
> Attachments: chrome_Lx303m9H3U.gif
>
>
> As of version +2.0.0-RC2.20230814-1413-067ef90d+ , validateXxx function is
> not working when validation passes(it returns empty string as expected), a
> gif of the behavior is attached below.
> The code base to reproduce the issue is
> https://github.com/kerhbal/causeway-simpleapp-rc
> Steps:
> 1. Run the app
> 2. From top menu, select Simple Objects -> Find By Multiple Filters
> 3. The validation condition is filter1 and filter2 cannot be both null, so
> just put some string into filter1 will pass the validation
> 4. Then click ok
--
This message was sent by Atlassian Jira
(v8.20.10#820010)