Modify

Ticket #24 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

When entering a date of certain format in your Profile, it just gives you an error

Reported by: Dashu Owned by: dark
Priority: major Milestone:
Component: Frontend Version: alpha5
Keywords: Cc:

Description

Hello,

I wanted to enter a date of format dd.mm.yyyy in the birthday field and got the following Errormessage:

Database error of class DataException occured:
invalid input syntax for type date: "invalid_date"

Stack trace follows:
[C]: in function 'escalate'
../lib/mondelefant.lua:668: in function 'save'
...dback_testing/app/app/main/member/_action/update.lua:19: in function 'func'
../env/execute/file_path.lua:24: in function 'file_path'
../env/execute/action.lua:19: in function 'action'
../env/execute/filtered_action.lua:35: in function <../env/execute/filtered_action.lua:34>
(tail call): ?
../env/execute/multi_wrapped.lua:18: in function 'inner_func'
../env/execute/inner.lua:19: in function 'inner'
...id_feedback_testing/app/app/main/_filter/21_auth.lua:30: in function 'func'
...
../env/execute/file_path.lua:24: in function 'file_path'
../env/execute/_add_filters_by_path.lua:17: in function 'wrapper_func'
../env/execute/wrapped.lua:21: in function <../env/execute/wrapped.lua:11>
(tail call): ?
(tail call): ?
../env/execute/filtered_action.lua:32: in function 'filtered_action'
...feedback_testing/webmcp/framework/cgi-bin/webmcp.lua:288: in function <...feedback_testing/webmcp/framework/cgi-bin/webmcp.lua:231>
[C]: in function 'xpcall'
...feedback_testing/webmcp/framework/cgi-bin/webmcp.lua:230: in main chunk
[C]: ?

Its been there for a few days and Its still there (I just checked).
Im using the latest Firefox.

If you need more information, please feel free to contact me via e-mail: Quasar@…

Arrr,
Dennis

Attachments

Change History

comment:1 Changed 3 years ago by jbe

  • Owner set to dark
  • Status changed from new to assigned

Most probably no date parser is used for that field. Until this problem is fixed, you can enter dates in ISO format: yyyy-mm-dd

comment:2 Changed 3 years ago by dark

  • Status changed from assigned to accepted

Invalid dates are now catched and displayed more nicely to the user (beta19). Rich calender chooser will be added.

comment:3 Changed 3 years ago by dark

  • Status changed from accepted to closed
  • Resolution set to fixed

comment:4 Changed 3 years ago by dark

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:5 Changed 3 years ago by dark

  • Status changed from reopened to closed
  • Resolution set to fixed

Rich calendar chooser added

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.