6.0.0-beta1
7/5/25

[#10370] PHP syntax problem
Summary PHP syntax problem
Queue Kronolith
Queue Version 3.0.5
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester adominguez (at) cne (dot) gob (dot) ve
Created 07/22/2011 (5097 days ago)
Due
Updated 07/22/2011 (5097 days ago)
Assigned
Resolved 07/22/2011 (5097 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/22/2011 04:46:53 PM Michael Rubinsky Assigned to Michael Rubinsky
 
07/22/2011 04:46:44 PM Michael Rubinsky Comment #2
State ⇒ Resolved
Priority ⇒ 1. Low
Reply to this comment
This was already fixed in git.
07/22/2011 03:57:07 PM adominguez (at) cne (dot) gob (dot) ve Comment #1
Priority ⇒ 3. High
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ PHP syntax problem
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hi, exist a syntax problem on file ?horde/kronolith/lib/Api.php?   
(function _addiCalEvent, line 726 and 738), because is using a wrong 
parameters to call the exceptin ?Kronolith_Exception?, this extends 
from  ?Horde_Exception_Wrapped? and it's construc expect to recived 
(String, int, Exception), instead, on line 726 and 738 we'll see:


throw new Kronolith_Exception(_("Already Exists"), 'horde.message', 
null, null, $uid)

You can see the problem is you appoint an event to yourself  and confirm  it.

By another hand, exist problem with the ?ics? attach file  that have 
acent (?á?, ?é?, etc), if you generate a calendar event with that 
character, you won be able to see the mail confirmation.

The final problem is:


"SQLSTATE[42601]: Syntax error: 7 ERROR:  syntax error at or near 
"497960427335"
LÍNEA 1: UPDATE kronolith_events_geo SET event_lat = 10,497960427335?


Saved Queries