Project

General

Profile

Actions

Bug #14664

open
CM

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

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

Added by Christian Meyer about 1 month ago. Updated 21 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

CM Updated by Christian Meyer about 1 month ago Actions #1

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 ...

RM Updated by Romain Mardulyn 21 days ago ยท Edited Actions #2

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

RM Updated by Romain Mardulyn 21 days ago Actions #3

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

RM Updated by Romain Mardulyn 21 days ago Actions #4

  • Target version deleted (4.15.0)
Actions

Also available in: PDF Atom