Loading...
 
Skip to main content

jquery validation failing for tracker field 'date and time' after upgrade from 12.x to 14.x

Status
Closed
Subject
jquery validation failing for tracker field 'date and time' after upgrade from 12.x to 14.x
Version
14.x Regression
Category
  • Error
  • Regression
Feature
Edit interface (UI)
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
Jonny Bradley
Lastmod by
Xavier de Pedro
Rating
(1)
Related-to
Description

jquery validation failing for tracker field 'date and time' after upgrade from 12.x to 14.x

The field "date and time" had no validation defined in its tracker field. In 12.x, you could add a tracker item normally. In 14.x, you cannot: Tiki complains that the date is not valid.

Reproduced here in a 14.x site:
http://xavi-9794-5706.show.tikiwiki.org/tiki-index.php?page=HomePage
u: admin
p: 12345

Attempt to insert an item, selecting some date at "My date field".

This worked in 12.x as expected (no complain when selecting dropdown fields in a tracker date and time field).
See it working in this equivalent 12.x instance:
http://xavi-9794-5707.show.tikiwiki.org/tiki-index.php?page=HomePage
u: admin
p: 12345

Solution

r56175 but i'm not sure if i should really remove the class "date" from these select dropdowns instead - or re-class them as datetime or something else?


thanks jonny, fixed!. Keep the class as-is, maybe, unless anybody else pushes for a class change?

Importance
5
Easy to solve?
3
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5706
Created
Monday 14 September, 2015 13:14:29 UTC
by Xavier de Pedro
LastModif
Tuesday 15 September, 2015 13:07:12 UTC


Show PHP error messages