Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8324

Rich text edition error with a rich text with annotation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0RC6
    • 4.0RC5
    • None
    • None

      How to reproduce

      • Edit a richtext declared with annotations
      • Double-clic on a word to select it
        There is the following JS error
      Entry.js:140 2017-06-09T15:26:24+02:00	ERROR	[Ametys.message.MessageBus]	Un composant a rencontré une exception lors du traitement d'un message du bus (TypeError: Cannot read property 'removeAll' of undefined)
      	TypeError: Cannot read property 'removeAll' of undefined
      	    at constructor.<anonymous> (http://localhost:9012/cms/plugins/cms/resources/js/Ametys/plugins/cms/editor/controller/SemanticAnnotationController.js:126:28)
          at constructor.each (http://localhost:9012/cms/plugins/extjs6/resources/ext-all-debug.js:40050:20)
          at constructor.updateMenuGallery (http://localhost:9012/cms/plugins/cms/resources/js/Ametys/plugins/cms/editor/controller/SemanticAnnotationController.js:119:25)
          at constructor.selectionListener (http://localhost:9012/cms/plugins/cms/resources/js/Ametys/plugins/cms/editor/SemanticAnnotation.js:90:16)
          at http://localhost:9012/cms/plugins/extjs6/resources/ext-all-debug.js:6696:35
          at constructor.executeFunctionByName (http://localhost:9012/cms/plugins/core-ui/resources/js/Ametys.js:407:14)
          at constructor._onSelectionChanged (http://localhost:9012/cms/plugins/cms/resources/js/Ametys/cms/editor/EditorButtonController.js:213:11)
          at constructor.fire (http://localhost:9012/cms/plugins/core-ui/resources/js/Ametys/message/MessageBus.js:166:14)
          at constructor.cb (http://localhost:9012/cms/plugins/core-ui/resources/js/Ametys/message/Message.js:286:31)
          at http://localhost:9012/cms/plugins/extjs6/resources/ext-all-debug.js:6711:35
      

      No annotation is available in annotation menu

            sprieul Simon Prieul (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: