<valueProposals> in cc_config.xml not working in Web Author (works in Desktop)
Posted: Tue Dec 02, 2025 7:40 pm
Hello,
I encountered an issue with the Content Completion configuration in Oxygen XML Web Author.
Environment:
Oxygen XML Editor (Desktop): version 27.1
Oxygen XML Web Author: version 27.1
Custom framework
Issue:
The syntax in works correctly in Oxygen Desktop but does not work in Web Author.
Configuration that does NOT work in Web Author:
Workaround using <match> syntax (works in both Desktop and Web Author):
I followed the documentation at: https://www.oxygenxml.com/doc/versions/ ... osals.html
Server logs :
Javascript logs:
Thank you for your help.
I encountered an issue with the Content Completion configuration in Oxygen XML Web Author.
Environment:
Oxygen XML Editor (Desktop): version 27.1
Oxygen XML Web Author: version 27.1
Custom framework
Issue:
The
Code: Select all
<valueProposals>Code: Select all
cc_config.xmlConfiguration that does NOT work in Web Author:
Code: Select all
<config xmlns="http://www.oxygenxml.com/ns/ccfilter/config">
<valueProposals path="@outputclass" editable="onlyAllowedItems">
<items>
<item value="stanza"/>
<item value="refrain"/>
</items>
</valueProposals>
</config>Code: Select all
<config xmlns="http://www.oxygenxml.com/ns/ccfilter/config">
<match attributeName="outputclass" " editable="onlyAllowedItems">
<items action="replace">
<item value="stanza"/>
<item value="refrain"/>
</items>
</match>
</config>Server logs :
Code: Select all
2025-12-02 17:39:08,865 ERROR [ http-nio-9081-exec-1 ] ro.sync.servlet.errors.DefaultExceptionHandler - com.google.common.util.concurrent.UncheckedExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2085)
at com.google.common.cache.LocalCache.get(LocalCache.java:4011)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4919)
at ro.sync.servlet.cc.RESTContentCompletionConfiguration.getRestrictedAttributes(RESTContentCompletionConfiguration.java:151)
at ro.sync.servlet.cc.RESTContentCompletionConfiguration.getRenderingConfiguration(RESTContentCompletionConfiguration.java:139)Code: Select all
Error updating attributes view. TypeError: can't access property "class", this.props.ctrl.restrictedAttributes is undefined
shouldRestrict http://127.0.0.1:9081/oxygen-webapp/app/workspace-73af73be62.js:1976
render http://127.0.0.1:9081/oxygen-webapp/app/workspace-73af73be62.js:1976
S http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
Y http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
V http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
V http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
_ http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
S http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
Y http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
V http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
_ http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
render http://127.0.0.1:9081/oxygen-webapp/app/v27.1.0-lib/layout-dab69784e0.js:1
render http://127.0.0.1:9081/oxygen-webapp/app/workspace-73af73be62.js:1890
render http://127.0.0.1:9081/oxygen-webapp/app/workspace-73af73be62.js:1991
nodeChanged_ http://127.0.0.1:9081/oxygen-webapp/app/workspace-73af73be62.js:1991
doAction_ http://127.0.0.1:9081/oxygen-webapp/app/workspace-73af73be62.js:963
workspace-73af73be62.js:1991:145238