[
https://issues.apache.org/jira/browse/CONNECTORS-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581264#comment-14581264
]
Karl Wright edited comment on CONNECTORS-1203 at 6/11/15 12:30 PM:
-------------------------------------------------------------------
Here's a second patch that should properly use internal field names in all
requests to SharePoint. Please evaluate it and let me know if it works
properly.
Also, please note that the theory of what's going wrong is that different parts
of your SharePoint setup have different display names for the
"ModerationStatus" field. In one site it will have one name, and in another
you will see it displayed differently. Hopefully it will be straightforward to
find the right one though.
was (Author: [email protected]):
Here's a second patch that should properly use internal field names in all
requests to SharePoint. Please evaluate it and let me know if it works
properly.
> Erratic handling of Sharepoint 2010 _ModerationStatus metadata
> --------------------------------------------------------------
>
> Key: CONNECTORS-1203
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1203
> Project: ManifoldCF
> Issue Type: Bug
> Components: SharePoint connector
> Affects Versions: ManifoldCF 1.7.2
> Reporter: Dale Dreiske
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.10, ManifoldCF 2.2
>
> Attachments: CONNECTORS-1203-2.patch, CONNECTORS-1203.patch,
> debug.log, debug7.log
>
>
> The ManifoldCF Sharepoint 2010 connector handles the Approval Status metadata
> inconsistently. In some cases it does not provide access to Approval Status
> at all.
> On /mcf-crawler-ui/execute.jsp#metapathwidget :
> * The field name appears in the drop down list as "Approval Status" when
> adding a new rule.
> * The field name is NOT available in the drop down list for top level sites.
> * The field name is listed as "_ModerationStatus" for existing rules.
> With connector debug turned on, the ManifoldCF logs show the field coming
> from Sharepoint as "ows__ModerationStatus". This is consistent across all
> pages, even when the the field is not added to the metadata rules.
> When sent to Solr, it appears in one of these 4 forms:
> * "ows__ModerationStatus"
> * "_ModerationStatus"
> * "_moderationstatus"
> * In some cases it does not get passed at all.
> This issue is most troublesome when this field is not displayed for creating
> new metadata rules. It appears it is only available when creating rules for
> pages in low level sites. Example paths:
> * /abc - does not work for top level sharepoint sites
> * /abc/xyz - works but passes name inconsistently;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)