[ 
https://issues.apache.org/jira/browse/CONNECTORS-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581223#comment-14581223
 ] 

Karl Wright edited comment on CONNECTORS-1203 at 6/10/15 11:41 PM:
-------------------------------------------------------------------

bq. Regarding the internal fields, all three of the following fields are 
present in the XML.

Hmm, my editor lied to me.  But I think I confused it with text that was way 
too long for it to handle properly.

Anyway, the field is internally named "_ModerationStatus", but its display name 
is not that:

{code}
DisplayName="Approval Status"
{code}

The SharePoint Connector will display the DisplayName, not the internal name, 
in the pulldown.

What the field gets indexed as is another question.  I'm looking into that now.




was (Author: [email protected]):
bq. Regarding the internal fields, all three of the following fields are 
present in the XML.

The field is internally named "ModerationStatus", but its display name is not 
that:

{code}
DisplayName="Approval Status"
{code}

The SharePoint Connector will display the DisplayName, not the internal name, 
in the pulldown.

> 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.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)

Reply via email to