[opencms-dev] Error inserting images from the editor in OpenCMS 9.5.3

José Alberto Pazos Ferreiro josealberto.pazos at usc.es
Tue Jun 20 10:24:59 CEST 2017


Hi,

We have detected an error in the Tinymce editor that is installed in the
version of OpenCMS 9.5.3. This error occurs when we insert images into
the OpenCMS editor using the image gallery.

The problem is reproduced as follows: we edit a page and inside the
editor we open a gallery of images. When we select any image the error
that follows is produced and does not load the image.



(IndexSizeError) stack: Error: Failed to execute 'setBaseAndExtent' 
on 'Selection': There is no child at offset 1. at c.setRng 
(http://fxc9.usc.es/resources/editors/tinymce/jscripts/tinymce/tinymce.min.js:6:16402)
at c.select
(http://fxc9.usc.es/resources/editors/tinymce/jscripts/tinymce/tinymce.min.js:6:14181)
at _selectionSelectNode
(http://fxc9.usc.es/system/workplace/editors/tinymce/integrator.js?integratorArgs=mode:imagegallery:119:21)
at setImage
>(http://fxc9.usc.es/system/workplace/editors/tinymce/integrator.js?integratorArgs=mode:imagegallery:399:9)
at mvc
>(http://fxc9.usc.es/resources/ade/galleries/41C7F64D5FEE117CDA27431F0E9E50C7.cache.html:6186:133)
at yuc.Fuc [as Yh]
(http://fxc9.usc.es/resources/ade/galleries/41C7F64D5FEE117CDA27431F0E9E50C7.cache.html:7244:27912)
at Rnc
>(http://fxc9.usc.es/resources/ade/galleries/41C7F64D5FEE117CDA27431F0E9E50C7.cache.html:6119:97)
at mmc
>(http://fxc9.usc.es/resources/ade/galleries/41C7F64D5FEE117CDA27431F0E9E50C7.cache.html:3143:25)
at sHc.tHc [as Id]
(http://fxc9.usc.es/resources/ade/galleries/41C7F64D5FEE117CDA27431F0E9E50C7.cache.html:7247:14408)
at HM.IM [as Cd]
>(http://fxc9.usc.es/resources/ade/galleries/41C7F64D5FEE117CDA27431F0E9E50C7.cache.html:7235:20771)
__gwt$exception: INDEX_SIZE_ERR: 1 DOMSTRING_SIZE_ERR: 2
>HIERARCHY_REQUEST_ERR: 3 WRONG_DOCUMENT_ERR: 4 INVALID_CHARACTER_ERR: 5
NO_DATA_ALLOWED_ERR: 6 NO_MODIFICATION_ALLOWED_ERR: 7 >NOT_FOUND_ERR: 8
NOT_SUPPORTED_ERR: 9 INUSE_ATTRIBUTE_ERR: 10 INVALID_STATE_ERR: 11
SYNTAX_ERR: 12 INVALID_MODIFICATION_ERR: 13 NAMESPACE_ERR: 14
>INVALID_ACCESS_ERR: 15 VALIDATION_ERR: 16 TYPE_MISMATCH_ERR: 17
SECURITY_ERR: 18 NETWORK_ERR: 19 ABORT_ERR: 20 URL_MISMATCH_ERR: 21
QUOTA_EXCEEDED_ERR: 22 TIMEOUT_ERR: 23 INVALID_NODE_TYPE_ERR: 24
DATA_CLONE_ERR: 25 code: 1: Failed to execute 'setBaseAndExtent' on
'Selection': There is no >child at offset 
1.




This error occurs with both Google Chrome (59.0.3071.104 (Official
build) (32 bits)) and Mozilla Firefox (54.0 (32-bit)). This is a fairly
important error, since web users can not insert images if they do not
know how to insert them directly with the source code.


Has it happened to someone and knows if there is an official solution?

Thank you very much,

Regards!






-- 

José Alberto Pazos Ferreiro

Unidade de Sistemas
Área de Tecnoloxías da Información e Comunicacións
Universidade de Santiago de Compostela
15782 Santiago de Compostela http://www.usc.es/atic/sistemas





More information about the opencms-dev mailing list