[
https://issues.apache.org/jira/browse/CONNECTORS-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144653#comment-15144653
]
Karl Wright commented on CONNECTORS-1275:
-----------------------------------------
Committed a tentative fix for this issue to trunk; r1730033 . Wish I could
have gotten better feedback from the issue reporter, but for some reason that
didn't happen.
> ES connector doesn't deal with dates properly
> ---------------------------------------------
>
> Key: CONNECTORS-1275
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1275
> Project: ManifoldCF
> Issue Type: Bug
> Components: Elastic Search connector
> Affects Versions: ManifoldCF 2.3
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 2.4
>
>
> The ES connector does not fill in JSON dates in the proper format. For
> example:
> {code}
> {
> "took": 4,
> "timed_out": false,
> "_shards": {
> "total": 6,
> "successful": 6,
> "failed": 0
> },
> "hits": {
> "total": 1,
> "max_score": 0.15342641,
> "hits": [
> {
> "_index": "index",
> "_type": "sharepoint",
> "_id": "http://sample.net/Lists/mylist/DispForm.aspx?ID=1",
> "_score": 0.15342641,
> "_source": {
> "Modified": "2016-02-09 12:35:56", // <--- Wrong type, should be
> Date
> "App Created By": "",
> "GUID": "{D233EA70-CFA7-42DD-8243-AG5BDA3D475B}",
> "Title": "lorem ipsum bacon",
> "Edit": "",
> "App Modified By": "",
> "Attachments": "0",
> "Item Child Count": "",
> "Created": "2016-02-09 12:35:56",
> "Modified By": "",
> "Folder Child Count": "",
> "Type": "",
> "Version": "",
> "Content Type": "", // <-- Missing
> "Created By": "", // <- Missing
> "ID": "1",
> "allow_token_document": "AD+Authority+Group:",
> "deny_token_document": "AD+Authority+Group:DEAD_AUTHORITY",
> "allow_token_share": "__nosecurity__",
> "deny_token_share": "__nosecurity__",
> "allow_token_parent": "__nosecurity__",
> "deny_token_parent": "__nosecurity__",
> "contentfield": ""
> }
> }
> ]
> }
> }
> {code}
> Not sure what the proper format is yet. [~AndreyL], can you fill this in?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)