6.0.0-RC7
6/28/26

[#8731] getActionTimestamp return bad value in soap
Summary getActionTimestamp return bad value in soap
Queue Turba
Queue Version FRAMEWORK_3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester rpolli (at) babel (dot) it
Created 11/25/09 (6059 days ago)
Due
Updated 12/5/09 (6049 days ago)
Assigned 11/29/09 (6055 days ago)
Resolved 12/5/09 (6049 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
213 Chuck Hagenbuch Comment #8
State ⇒ Not A Bug
Reply to this comment
Either way, there isn't a problem with the method call.
53 Chuck Hagenbuch Comment #7 Reply to this comment
The sequence table maintained by MDB2 to keep track of primary keys is 
corrupted or just plain wrong. Did you change it by hand?
474 rpolli (at) babel (dot) it Comment #6 Reply to this comment
So you're saying it works fine with a clean install, but doesn't 
work for your existing install? Same code versions?
yes, after some troubleshooting I found the following error:
Nov 30 15:19:55 HORDE [error] [turba] DB Error: constraint violation: 
UPDATE horde_histories_seq SET id = LAST_INSERT_ID(id + 1) 
[nativecode=1062 ** Duplicate entry '3223' for key 'PRIMARY'] [pid 
23757 on line 198 of 
"/var/www/webmail/horde-webmail-1.2.4/lib/Horde/History.php"]

Which could be the cause?

53 Chuck Hagenbuch Comment #5 Reply to this comment
So you're saying it works fine with a clean install, but doesn't work 
for your existing install? Same code versions?
591 rpolli (at) babel (dot) it Comment #4 Reply to this comment
I installed a brand new horde with a fresh db and seems this bug won't 
apply. So it could be a problem on sql of the horde installation.

Which can be the cause?

Peace,
R.
232 rpolli (at) babel (dot) it Comment #3 Reply to this comment
Do you know that this is specific to SOAP (as in the bug title)? Or 
have you tried other RPC backends?
even with xmlrpc...

Peace, R

405 Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Do you know that this is specific to SOAP (as in the bug title)? Or 
have you tried other RPC backends?
3211 rpolli (at) babel (dot) it Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ getActionTimestamp return bad value in soap
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
horde webmail 3.3.5 / turba 2.3.2

getActionTimestamp always return 0. http trace follows

(Pdb) print 
server.contacts.getActionTimestamp("20091125212217.12527jgoulnhlpmh@newwebmail.eng.it","add")
*** Outgoing SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
   SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
   xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
   xmlns:xsd="http://www.w3.org/1999/XMLSchema"
<SOAP-ENV:Body>
<ns1:contacts.getActionTimestamp xmlns:ns1="urn:horde" SOAP-ENC:root="1">
<v1 
xsi:type="xsd:string">20091125212217.12527jgoulnhlpmh@newwebmail.eng.it</v1>
<v2 xsi:type="xsd:string">add</v2>
</ns1:contacts.getActionTimestamp>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** Incoming SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
xmlns:ns1="urn:horde" xmlns:xsd="http://www.w3.org/2001/XMLSchema
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:contacts.getActionTimestampResponse><output 
xsi:type="xsd:int">0</output></ns1:contacts.getActionTimestampResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
************************************************************************


Saved Queries