[dev] Timeparsing - Android SyncML - Exception
berni
bernhardredl at gmail.com
Wed Sep 21 00:22:26 UTC 2011
hi
i wrote a small patch to fix the issue. (patch is based on current git / master)
if wanted i can also open an pullrequest @ github.
--aatdark
On Tue, Sep 20, 2011 at 2:29 PM, berni <bernhardredl at gmail.com> wrote:
> On Tue, Sep 20, 2011 at 10:09 AM, Jan Schneider <jan at horde.org> wrote:
>>
>> Zitat von berni <bernhardredl at gmail.com>:
>>
>>> hi
>>>
>>> it seems that the android Funabold SyncMl client saves "--" as the
>>> Anniversary in the DB.
>>
>> In which DB?
> mysql> select object_anniversary from turba_objects ;
> +--------------------+
> | object_anniversary |
> +--------------------+
> | -- |
> | -- |
> ...
>>
>>> The Contact App can't parse this string. Anyidea how to make this more
>>> error prone?
>>
>> Which "Contact App"?
> turba
>>
>>> A fatal error has occurred</h1><h3>Failed to parse time string
>>> (--)</h3><div id="backtrace"><pre>
>>> 1. Turba_View_Contact->html() /var/www/horde/turba/contact.php:113
>>> 2. Horde_Form->renderInactive()
>>> /var/www/horde/turba/lib/View/Contact.php:58
>>> 3. Horde_Form_Renderer->renderFormInactive()
>>> /usr/share/php/Horde/Form.php:531
>>> 4. Horde_Form_Renderer->_renderForm()
>>> /usr/share/php/Horde/Form/Renderer.php:226
>>> 5. Horde_Core_Ui_VarRenderer->render()
>>> /usr/share/php/Horde/Form/Renderer.php:276
>>> 6. Horde_Core_Ui_VarRenderer_Html->_renderVarDisplay_monthdayyear()
>>> /usr/share/php/Horde/Core/Ui/VarRenderer.php:85
>>> 7. Horde_Form_Type_monthdayyear->formatDate()
>>> /usr/share/php/Horde/Core/Ui/VarRenderer/Html.php:1356
>>> 8. Horde_Form_Type_monthdayyear->getDateOb()
>>> /usr/share/php/Horde/Form/Type.php:2898
>>> 9. Horde_Date->__construct() /usr/share/php/Horde/Form/Type.php:2880
>>>
>>> aatdark
>>> --
>>> Horde developers mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>>
>>
>> Jan.
>>
>> --
>> Do you need professional PHP or Horde consulting?
>> http://horde.org/consulting/
>>
>> --
>> Horde developers mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.diff
Type: text/x-patch
Size: 1239 bytes
Desc: not available
URL: <http://lists.horde.org/archives/dev/attachments/20110921/9dd5be60/attachment.bin>
More information about the dev
mailing list