]
Vladimir Blagojevic commented on ISPN-7219:
-------------------------------------------
[11:33am] remerson: I think I know the problem. We retrieve the structure of the existing
template no problem, but when saving the issue is that the file-store=>FILE_STORE has
not been created i.e. the "is-new-node" flag is missing hence an add operation
is not added to the DMR steps
[11:35am] remerson: So it should be a case of adding a step in the Ctrl to recursively add
"is-new-node" to all child nodes when copying from an existing template
[11:36am] remerson: Because we know that we are creating a new template, so it
*shouldn't* cause an error with "blah existing node etc" from the server
Administration console - creating template from existing template
fails in some cases
-------------------------------------------------------------------------------------
Key: ISPN-7219
URL:
https://issues.jboss.org/browse/ISPN-7219
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 9.0.0.Alpha4
Reporter: Roman Macor
Assignee: Vladimir Blagojevic
Click on cache container -> Configuration -> Templates -> create new template
-> fill in template name: newTemplate, base configuration:
persistent-file-store-write-behind (template with file store and write-behind configured)
-> next -> create
Result:
Pop up with error message:
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
failed:":{"Operation step-2":"WFLYCTL0216: Management resource
'[\n (\"profile\" => \"clustered\"),\n (\"subsystem\"
=> \"datagrid-infinispan\"),\n (\"cache-container\" =>
\"clustered\"),\n (\"configurations\" =>
\"CONFIGURATIONS\"),\n (\"distributed-cache-configuration\" =>
\"new\"),\n (\"file-store\" => \"FILE_STORE\"),\n
(\"write-behind\" => \"WRITE_BEHIND\")\n]' not found"}}
The new template is created, but configuration is not copied.