Modify

Ticket #109 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Profile-Einstellung Geburtstag Exception

Reported by: pirat@… Owned by: dark
Priority: critical Milestone:
Component: Frontend Version: beta13
Keywords: Cc:

Description

Die Eingabe eines Datums im falschen Format führt zu einer Exception:

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

Stack trace follows:
[C]: in function 'escalate'
../lib/mondelefant.lua:710: in function 'save'
...d_feedback/webapp/app/main/member/_action/update.lua:18: 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'
.../liquid_feedback/webapp/app/main/_filter/21_auth.lua:37: in function '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'
webmcp.lua:288: in function <webmcp.lua:231>
[C]: in function 'xpcall'
webmcp.lua:230: in main chunk
[C]: in function 'pcall'
...feedback/webmcp/framework/cgi-bin/webmcp-wrapper.lua:7: in main chunk
[C]: ?
TRACE

    *
      Configuration "piraten-sh"
          o
            Configuration "piraten-default"
                +
                  Configuration "default"
    *
      REQUESTED ACTION: member/update
    *
      /main/_filter_action/10_transaction.lua
          o BEGIN;;
          o
            /main/_filter/20_session.lua
                + SELECT "session".* FROM "session" WHERE (ident = 'WhWk2fD5Erf6j6L1bks6M00U3qokHG7Q') LIMIT 1;
                +
                  /main/_filter/21_auth.lua
                      # SELECT "member".* FROM "member" WHERE ("member"."id" IN (3));
                      # Authentication accepted.
                      #
                        EXECUTE ACTION: member/update
                            * SELECT * FROM "member" WHERE (FALSE);
                            * UPDATE "member" SET "statement" = '', "xmpp_address" = '', "phone" = '', "profession" = '', "external_memberships" = '', "email" = '', "external_posts" = '', "internal_posts" = '', "birthday" = 'invalid_date'::date, "address" = '', "organizational_unit" = '', "website" = '', "realname" = '', "mobile_phone" = '' WHERE "id" = 3;

Attachments

Change History

comment:1 Changed 3 years ago by dark

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

comment:2 Changed 3 years ago by dark

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

dup #24

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.