[dev] Timeparsing - Android SyncML - Exception

berni bernhardredl at gmail.com
Tue Sep 20 12:29:18 UTC 2011


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
>


More information about the dev mailing list