[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opengroupware-bugs
Subject:    [OGo-Bugs][Bug 1985] New: Events with single quotes in descriptions fail to save
From:       bugzilla () bugzilla ! opengroupware ! org
Date:       2008-06-12 21:15:44
Message-ID: 20080612211544.E0189CBF44 () bugzilla ! opengroupware ! org
[Download RAW message or body]

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1985

           Summary: Events with single quotes in descriptions fail to save
           Product: ZideStore
           Version: TRUNK
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: normal
         Component: Generic-WebDAV
        AssignedTo: helge.hess@opengroupware.org
        ReportedBy: awilliam@whitemice.org
                CC: bugs@opengroupware.org


From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080410
SUSE/2.0.0.14-0.1 Firefox/2.0.0.14

Description of problem:
PUT a vCalendar item to ZideStore and event fails to save if the location or
title contains a single quote.

J

Version-Release number of selected component (if applicable):
TRUNK

How reproducible:
Always

Steps to Reproduce:
1. Create vCalendar object with single quote in description
2. PUT to ZideStore @ /zidestore/dav/adam/Calendar/
    

Actual Results:  PostgreSQL error.

Expected Results:  Appointment would be created.

Additional info:
un 12 20:59:31 ogo-zidestore-1.5 [31879]: Note(SoObject): relative base URLs are
enabled.
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: |ogo-zidestore-1|   do traverse name:
'Calendar'
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <|SxUserFolder:adam|>D traverse key
'Calendar' (acquire=no) ..
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <|SxUserFolder:adam|>D   key
'Calendar' resolved: <0x0x86fb3dc[SxAppointmentFolder]:>
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: |ogo-zidestore-1|   do traverse name:
'test.vcard'
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <|SxAppointmentFolder:Calendar|>D
traverse key 'test.vcard' (acquire=no) ..
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <|SxAppointmentFolder:Calendar|>D
childForNewKey: test
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <|SxAppointmentFolder:Calendar|>D
record class for key: 'test'
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: |SxAppointmentFolder:Calendar| no
digit, ask super for key: 'test'
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: |SxAppointmentFolder:Calendar| Note:
class does not specify class for key: 'test'
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: |SxAppointmentFolder:Calendar|   no
digit super returned no key: 'test'
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <|SxAppointmentFolder:Calendar|>D  
key 'test.vcard' resolved: <0x0x87000ec[SxAppointment]: name=test>
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: |ogo-zidestore-1| set clientObject:
<0x0x87000ec[SxAppointment]: name=test>
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <0x0x87000ec[SxAppointment]> Note:
client submitted no content-type!
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: [WARN] <0x0x87000ec[SxAppointment]>
-[SxAppointment(Participants)
createEntriesForUnknown:addToResult:commandContext:]: creating entries for
unknown participants: Adam Williams
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: Note: PostgreSQL72 adaptor using
timezone 'GMT' as default
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <0x0x87000ec[SxAppointment]> Note:
loosing keys: creator
Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <0x0x86b54b4[PostgreSQL72Channel]:
connection=<0x0x86b56b4[PGConnection]:  connection=0x0x86b5d78>>: message:
WARNING:  nonstandard use of \' in a string literal
LINE 1: ..., 'inserted', null, null, null, null, null, null, 'Doctor\'s...
                                                             ^
HINT:  Use '' to write quotes in strings, or use the escape string syntax (E'...').

Jun 12 20:59:32 ogo-zidestore-1.5 [31879]: <|SxUserFolder:adam|>D sleep: no open
transactions to close.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
-- 
OpenGroupware.org Bugs
bugs@opengroupware.org
http://mail.opengroupware.org/mailman/listinfo/bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic