[
https://issues.apache.org/jira/browse/CMIS-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johannes Schacht updated CMIS-1018:
-----------------------------------
Description:
In url.cs, line 165, I needed this change:
{code:title=Wrong|borderStyle=solid}
return ((BigInteger)value).ToString("#", CultureInfo.InvariantCulture);
{code}
{code:title=Corrected|borderStyle=solid}
return ((BigInteger)value).ToString("0", CultureInfo.InvariantCulture);
{code}
was:
In url.cs, line 165, I needed this change:
New:
{code:title=Bar.java|borderStyle=solid}
return ((BigInteger)value).ToString("0", CultureInfo.InvariantCulture);
{code}
Old:
return ((BigInteger)value).ToString("#", CultureInfo.InvariantCulture);
> Converting BigInteger to string when 0 yields string.Empty
> ----------------------------------------------------------
>
> Key: CMIS-1018
> URL: https://issues.apache.org/jira/browse/CMIS-1018
> Project: Chemistry
> Issue Type: Bug
> Components: portcmis
> Reporter: Johannes Schacht
>
> In url.cs, line 165, I needed this change:
> {code:title=Wrong|borderStyle=solid}
> return ((BigInteger)value).ToString("#", CultureInfo.InvariantCulture);
> {code}
> {code:title=Corrected|borderStyle=solid}
> return ((BigInteger)value).ToString("0", CultureInfo.InvariantCulture);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)