]
Tristan Tarrant updated ISPN-10115:
-----------------------------------
Fix Version/s: 10.0.0.Beta5
(was: 10.0.0.Beta4)
Missing persistence element when reading a template resource
------------------------------------------------------------
Key: ISPN-10115
URL:
https://issues.jboss.org/browse/ISPN-10115
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 9.4.12.Final, 10.0.0.Beta3
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Major
Fix For: 10.0.0.Beta5, 9.4.16.Final
When reading a template resource, e.g via.
{code:java}
/subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=my-template:read-resource
{code}
The following is thrown:
{code:java}
[standalone@localhost:9990 /]
/subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=my-template:read-resource
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0216: Management resource '[
(\"subsystem\" => \"datagrid-infinispan\"),
(\"cache-container\" => \"local\"),
(\"configurations\" => \"CONFIGURATIONS\"),
(\"local-cache-configuration\" => \"my-template\"),
(\"persistence\" => \"PERSISTENCE\")
]' not found",
"rolled-back" => true
}
{code}
The problem is caused by the persistence=PERSISTENCE element not being created by the xml
reader. This is now necessary as the aliases to the old store entries refer to
{{persistence=PERSISTENCE/file-store}} etc, which is called during a read-resource
operation.