Project

General

Profile

Actions

Bug #14664

open

TimeValidator shows error when I use it's bottom() to set time in field

Added by Christian Meyer 28 days ago. Updated 5 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/12/2026
Due date:
% Done:

0%

Estimated time:

Description

See Screenshot

I changed the validator for the time field, when the date field was set AND certains conditions are met ...

namely when today is selected, I want to set the bottom() time to NOW.

using this new bottom() to set time on timeEdit

Tested with vanilla Wt 4.13.4, as well as my TypedValidator Patch ( #14234 )


Files

time_validator_fail.JPG (15.6 KB) time_validator_fail.JPG Christian Meyer, 07/12/2026 03:01 PM
Actions #1

Updated by Christian Meyer 28 days ago

I now set the Step to 60s and used a WTime with just hours and minutes.

this resolved the error display...

should the validator strip the WTime to fit the format?

It is a wild edge case ...

Actions #2

Updated by Romain Mardulyn 5 days ago ยท Edited

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
  • Target version set to 4.14.2
Actions #3

Updated by Romain Mardulyn 5 days ago

  • Status changed from InProgress to New
  • Assignee deleted (Romain Mardulyn)
  • Target version changed from 4.14.2 to 4.15.0
Actions #4

Updated by Romain Mardulyn 5 days ago

  • Target version deleted (4.15.0)
Actions

Also available in: Atom PDF