camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhiraj Bokde (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6847) FacebookConsumer does not decode the Reading since field correctly
Date Fri, 11 Oct 2013 19:04:44 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dhiraj Bokde updated CAMEL-6847:
--------------------------------

    Attachment: patchCAMEL-6847-2.txt

Patch fixes the 'since' parse bug for the situation when it occurs as the last reading field
in the endpoint url. 
Also removes the restriction on the since and until date formats to be ISO8601. The since
and until values are passed as is to Facebook REST calls, which will convert and validate
on server side at call time. 
This could result in a facebook4j.FacebookException being raised for an invalid date format,
which will be propagated to the Camel error handler. 

> FacebookConsumer does not decode the Reading since field correctly
> ------------------------------------------------------------------
>
>                 Key: CAMEL-6847
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6847
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-facebook
>    Affects Versions: 2.12.1
>            Reporter: Dhiraj Bokde
>            Assignee: Willem Jiang
>             Fix For: 2.12.2, 2.13.0
>
>         Attachments: patchCAMEL-6847-2.txt, patchCAMEL-6847.txt
>
>
> The FacebookConsumer class takes the string output of Reading class and tries to retrieve
the since field value. It should use java.net.Decoder to correctly decode the URL encoded
value. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message