[JBoss JIRA] (IPROTO-34) Protobuf/Json mapping generates invalid json
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/IPROTO-34?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated IPROTO-34:
------------------------------------
Description:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
{noformat}
'"' => "\\\"";
'\\' => "\\\\";
'\t' => "\\t";
'\b' => "\\b";
'\n' => "\\n";
'\r' => "\\r";
'\f' => "\\f";
{noformat}
was:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
{noformat}
'"' = "\\\"";
'\\' = "\\\\";
'\t' = "\\t";
'\b' = "\\b";
'\n' = "\\n";
'\r' = "\\r";
'\f' = "\\f";
{noformat}
> Protobuf/Json mapping generates invalid json
> --------------------------------------------
>
> Key: IPROTO-34
> URL: https://issues.jboss.org/browse/IPROTO-34
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.0.0.Alpha5
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
> The following escaping should be done:
> {noformat}
> '"' => "\\\"";
> '\\' => "\\\\";
> '\t' => "\\t";
> '\b' => "\\b";
> '\n' => "\\n";
> '\r' => "\\r";
> '\f' => "\\f";
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (IPROTO-34) Protobuf/Json mapping generates invalid json
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/IPROTO-34?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated IPROTO-34:
------------------------------------
Description:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
{noformat}
'"' => "\\\"";
'\\' => "\\\\";
'\t' => "\\t";
'\b' => "\\b";
'\n' => "\\n";
'\r' => "\\r";
'\f' => "\\f";
{noformat}
was:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
{noformat}
'"' => "\\\"";
'\\' => "\\\\";
'\t' => "\\t";
'\b' => "\\b";
'\n' => "\\n";
'\r' => "\\r";
'\f' => "\\f";
{noformat}
> Protobuf/Json mapping generates invalid json
> --------------------------------------------
>
> Key: IPROTO-34
> URL: https://issues.jboss.org/browse/IPROTO-34
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.0.0.Alpha5
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
> The following escaping should be done:
> {noformat}
> '"' => "\\\"";
> '\\' => "\\\\";
> '\t' => "\\t";
> '\b' => "\\b";
> '\n' => "\\n";
> '\r' => "\\r";
> '\f' => "\\f";
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (IPROTO-34) Protobuf/Json mapping generates invalid json
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/IPROTO-34?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated IPROTO-34:
------------------------------------
Description:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
{noformat}
'"' = "\\\"";
'\\' = "\\\\";
'\t' = "\\t";
'\b' = "\\b";
'\n' = "\\n";
'\r' = "\\r";
'\f' = "\\f";
{noformat}
was:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
{noformat}
REPLACEMENT_CHARS['"'] = "\\\"";
REPLACEMENT_CHARS['\\'] = "\\\\";
REPLACEMENT_CHARS['\t'] = "\\t";
REPLACEMENT_CHARS['\b'] = "\\b";
REPLACEMENT_CHARS['\n'] = "\\n";
REPLACEMENT_CHARS['\r'] = "\\r";
REPLACEMENT_CHARS['\f'] = "\\f";
{noformat}
> Protobuf/Json mapping generates invalid json
> --------------------------------------------
>
> Key: IPROTO-34
> URL: https://issues.jboss.org/browse/IPROTO-34
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.0.0.Alpha5
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
> The following escaping should be done:
> {noformat}
> '"' = "\\\"";
> '\\' = "\\\\";
> '\t' = "\\t";
> '\b' = "\\b";
> '\n' = "\\n";
> '\r' = "\\r";
> '\f' = "\\f";
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (IPROTO-34) Protobuf/Json mapping generates invalid json
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/IPROTO-34?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated IPROTO-34:
------------------------------------
Description:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
{noformat}
REPLACEMENT_CHARS['"'] = "\\\"";
REPLACEMENT_CHARS['\\'] = "\\\\";
REPLACEMENT_CHARS['\t'] = "\\t";
REPLACEMENT_CHARS['\b'] = "\\b";
REPLACEMENT_CHARS['\n'] = "\\n";
REPLACEMENT_CHARS['\r'] = "\\r";
REPLACEMENT_CHARS['\f'] = "\\f";
{noformat}
was:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
REPLACEMENT_CHARS['"'] = "\\\"";
REPLACEMENT_CHARS['\\'] = "\\\\";
REPLACEMENT_CHARS['\t'] = "\\t";
REPLACEMENT_CHARS['\b'] = "\\b";
REPLACEMENT_CHARS['\n'] = "\\n";
REPLACEMENT_CHARS['\r'] = "\\r";
REPLACEMENT_CHARS['\f'] = "\\f";
> Protobuf/Json mapping generates invalid json
> --------------------------------------------
>
> Key: IPROTO-34
> URL: https://issues.jboss.org/browse/IPROTO-34
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.0.0.Alpha5
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
> The following escaping should be done:
> {noformat}
> REPLACEMENT_CHARS['"'] = "\\\"";
> REPLACEMENT_CHARS['\\'] = "\\\\";
> REPLACEMENT_CHARS['\t'] = "\\t";
> REPLACEMENT_CHARS['\b'] = "\\b";
> REPLACEMENT_CHARS['\n'] = "\\n";
> REPLACEMENT_CHARS['\r'] = "\\r";
> REPLACEMENT_CHARS['\f'] = "\\f";
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (IPROTO-34) Protobuf/Json mapping generates invalid json
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-34?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated IPROTO-34:
--------------------------------
Status: Open (was: New)
> Protobuf/Json mapping generates invalid json
> --------------------------------------------
>
> Key: IPROTO-34
> URL: https://issues.jboss.org/browse/IPROTO-34
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.0.0.Alpha5
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
> The following escaping should be done:
> {noformat}
> REPLACEMENT_CHARS['"'] = "\\\"";
> REPLACEMENT_CHARS['\\'] = "\\\\";
> REPLACEMENT_CHARS['\t'] = "\\t";
> REPLACEMENT_CHARS['\b'] = "\\b";
> REPLACEMENT_CHARS['\n'] = "\\n";
> REPLACEMENT_CHARS['\r'] = "\\r";
> REPLACEMENT_CHARS['\f'] = "\\f";
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (IPROTO-34) Protobuf/Json mapping generates invalid json
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/IPROTO-34?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated IPROTO-34:
------------------------------------
Description:
A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
The following escaping should be done:
REPLACEMENT_CHARS['"'] = "\\\"";
REPLACEMENT_CHARS['\\'] = "\\\\";
REPLACEMENT_CHARS['\t'] = "\\t";
REPLACEMENT_CHARS['\b'] = "\\b";
REPLACEMENT_CHARS['\n'] = "\\n";
REPLACEMENT_CHARS['\r'] = "\\r";
REPLACEMENT_CHARS['\f'] = "\\f";
was:A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks
> Protobuf/Json mapping generates invalid json
> --------------------------------------------
>
> Key: IPROTO-34
> URL: https://issues.jboss.org/browse/IPROTO-34
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.0.0.Alpha5
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> A json containing a string field value with the '\n', when converted to protobuf and back results in invalid json with line breaks.
> The following escaping should be done:
> REPLACEMENT_CHARS['"'] = "\\\"";
> REPLACEMENT_CHARS['\\'] = "\\\\";
> REPLACEMENT_CHARS['\t'] = "\\t";
> REPLACEMENT_CHARS['\b'] = "\\b";
> REPLACEMENT_CHARS['\n'] = "\\n";
> REPLACEMENT_CHARS['\r'] = "\\r";
> REPLACEMENT_CHARS['\f'] = "\\f";
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (ISPN-8358) Reduce default concurrent-level for WeakCounter
by Pedro Ruivo (JIRA)
Pedro Ruivo created ISPN-8358:
---------------------------------
Summary: Reduce default concurrent-level for WeakCounter
Key: ISPN-8358
URL: https://issues.jboss.org/browse/ISPN-8358
Project: Infinispan
Issue Type: Enhancement
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
The current default value (64) may be to high for small cluster. Reduce it to 16. The concurrency-level is directly related to the number of keys created for a single weak counter.
Reduce the test suite concurrency-level as well (4 should be enough for the tests)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (IPROTO-34) Protobuf/Json mapping generates invalid json
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/IPROTO-34?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated IPROTO-34:
------------------------------------
Description: A json containing '\n' converted to protobuf and back results in invalid json with line breaks (was: Line breaks should be converted to '\n' inside string field values, otherwise the json rendered is invalid)
> Protobuf/Json mapping generates invalid json
> --------------------------------------------
>
> Key: IPROTO-34
> URL: https://issues.jboss.org/browse/IPROTO-34
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.0.0.Alpha5
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> A json containing '\n' converted to protobuf and back results in invalid json with line breaks
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months