InfoWindow validation do not take in account default @ value

Description

InfoWindow validation replace @CtxValue@ with 0 even if there is a Default value.
This create problem with the validation of some kind of field (ex Dates).

EX. @CtxValue:Default@ is replaced with 0

Solution: replace the @CtxValue:Default@ with Default

Environment

None

Activity

Show:

Carlos Ruiz 2 days ago

 

closing this ticket as duplicate

Carlos Ruiz 2 days ago

Thanks - I’ll create a pull request tomorrow with that patch.

macchiarch 2 days ago

I tested the patch with the test cases created for mine and it works fine, no errors.

Carlos Ruiz 2 days ago

Thanks - did you see my suggested solution here?
https://github.com/user-attachments/files/18732577/PR2675pr0.patch.txt

It’s much simpler, it would be great if you can test it and confirm if it works.

macchiarch 2 days ago
Edited

EDIT: Yes, the patch you proposed seems to work.
In the next few minutes I will do some testing with the cases I have already created

 

Hi , yes, it is a duplicate (Sorry, I didn’t found the ticket 6419), but I propose a different solution that worked for me:

(Patch is from START to END)

I think we can merge the two solutions to have a better one by replacing the line

with

as proposed by

I have already made a commit in my repo, so tell me if you prefer me to make a pull request or not.

Thanks

Duplicate

Details

Assignee

Reporter

Components

Priority

Created 2 days ago
Updated 2 days ago
Resolved 2 days ago