Ryan Emerson created ISPN-10115:
-----------------------------------
Summary: 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: 10.0.0.Beta3, 9.4.12.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 10.0.0.Beta4, 9.4.13.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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)