You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2016/07/02 09:18:11 UTC

[jira] [Assigned] (CMIS-985) PortCMIS

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

Florian Müller reassigned CMIS-985:
-----------------------------------

    Assignee: Florian Müller

> PortCMIS
> --------
>
>                 Key: CMIS-985
>                 URL: https://issues.apache.org/jira/browse/CMIS-985
>             Project: Chemistry
>          Issue Type: Bug
>            Reporter: Johannes
>            Assignee: Florian Müller
>
> The substring method needs a length as parameter. I found two places in AtomPubBindings.cs where it's used wrongly. Here are my changes:
> {quote}
>           //return errorContent.Substring(begin + "<!--exception-->".Length, end); --> Changed by JS: 2016-07-02
>             int length = end - begin;
>             return errorContent.Substring(begin + "<!--exception-->".Length, length);
> {quote}
> and 
> {quote}
>             //return errorContent.Substring(begin + "<!--message-->".Length, end); --> Changed by JS: 2016-07-02
>             int length = end - begin;
>             return errorContent.Substring(begin + "<!--message-->".Length, length);
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)