[JBoss JIRA] (ISPN-9749) Rest PUT fails to replace value when storing pojos without equality
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9749?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9749:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6444
> Rest PUT fails to replace value when storing pojos without equality
> -------------------------------------------------------------------
>
> Key: ISPN-9749
> URL: https://issues.jboss.org/browse/ISPN-9749
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.4.Final, 9.3.5.Final, 9.4.1.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> According to the documentations, when doing a REST PUT, "Any existing data will be replaced", but when the cache is configured to store "application/x-java-object" (unserialized objects) and the object does not implement the equals method, the replace always fails and the server returns HTTP 412 (precondition failed).
> This is due to the fact that internally the REST server first retrieves the existing value, and then does a conditional replace with this value that never matches.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9751) Default transport for the test suite should be same except if it was activated by another profile
by Diego Lovison (Jira)
Diego Lovison created ISPN-9751:
-----------------------------------
Summary: Default transport for the test suite should be same except if it was activated by another profile
Key: ISPN-9751
URL: https://issues.jboss.org/browse/ISPN-9751
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.4.1.Final
Reporter: Diego Lovison
The pom.xml configuration should be:
{code:xml}
<default.transport.stack>udp</default.transport.stack>
<infinispan.test.jgroups.protocol>${default.transport.stack}</infinispan.test.jgroups.protocol>
<transport.stack>-Djboss.default.jgroups.stack=${infinispan.test.jgroups.protocol}</transport.stack>
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9750) Remove default.transport.stack property from the pom.xml configuration
by Diego Lovison (Jira)
Diego Lovison created ISPN-9750:
-----------------------------------
Summary: Remove default.transport.stack property from the pom.xml configuration
Key: ISPN-9750
URL: https://issues.jboss.org/browse/ISPN-9750
Project: Infinispan
Issue Type: Bug
Affects Versions: 10.0.0.Final
Reporter: Diego Lovison
After ISPN-9748, all entries related with default.transport.stack were replaced by infinispan.test.jgroups.protocol
There are scripts that are still using default.transport.stack and this issue should be fixed for >= ISPN10x
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9749) Rest PUT fails to replace value when storing pojos without equality
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9749?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9749:
------------------------------------
Affects Version/s: 9.4.1.Final
9.3.5.Final
9.2.4.Final
> Rest PUT fails to replace value when storing pojos without equality
> -------------------------------------------------------------------
>
> Key: ISPN-9749
> URL: https://issues.jboss.org/browse/ISPN-9749
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.4.Final, 9.3.5.Final, 9.4.1.Final
> Reporter: Gustavo Fernandes
> Priority: Major
>
> According to the documentations, when doing a REST PUT, "Any existing data will be replaced", but when the cache is configured to store "application/x-java-object" (unserialized objects) and the object does not implement the equals method, the replace always fails and the server returns HTTP 412 (precondition failed).
> This is due to the fact that internally the REST server first retrieves the existing value, and then does a conditional replace with this value that never matches.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9749) Rest PUT fails to replace value when storing pojos without equality
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9749?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reassigned ISPN-9749:
---------------------------------------
Assignee: Gustavo Fernandes
> Rest PUT fails to replace value when storing pojos without equality
> -------------------------------------------------------------------
>
> Key: ISPN-9749
> URL: https://issues.jboss.org/browse/ISPN-9749
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.4.Final, 9.3.5.Final, 9.4.1.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> According to the documentations, when doing a REST PUT, "Any existing data will be replaced", but when the cache is configured to store "application/x-java-object" (unserialized objects) and the object does not implement the equals method, the replace always fails and the server returns HTTP 412 (precondition failed).
> This is due to the fact that internally the REST server first retrieves the existing value, and then does a conditional replace with this value that never matches.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9749) Rest PUT fails to replace value when storing pojos without equality
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9749?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9749:
------------------------------------
Status: Open (was: New)
> Rest PUT fails to replace value when storing pojos without equality
> -------------------------------------------------------------------
>
> Key: ISPN-9749
> URL: https://issues.jboss.org/browse/ISPN-9749
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.4.Final, 9.3.5.Final, 9.4.1.Final
> Reporter: Gustavo Fernandes
> Priority: Major
>
> According to the documentations, when doing a REST PUT, "Any existing data will be replaced", but when the cache is configured to store "application/x-java-object" (unserialized objects) and the object does not implement the equals method, the replace always fails and the server returns HTTP 412 (precondition failed).
> This is due to the fact that internally the REST server first retrieves the existing value, and then does a conditional replace with this value that never matches.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9749) Rest PUT fails to replace value when storing pojos without equality
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-9749:
---------------------------------------
Summary: Rest PUT fails to replace value when storing pojos without equality
Key: ISPN-9749
URL: https://issues.jboss.org/browse/ISPN-9749
Project: Infinispan
Issue Type: Bug
Reporter: Gustavo Fernandes
According to the documentations, when doing a REST PUT, "Any existing data will be replaced", but when the cache is configured to store "application/x-java-object" (unserialized objects) and the object does not implement the equals method, the replace always fails and the server returns HTTP 412 (precondition failed).
This is due to the fact that internally the REST server first retrieves the existing value, and then does a conditional replace with this value that never matches.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months