Saturday, July 27, 2019

Connections 6.0 CR5. pay attention to the path in case of manual upgrade of TinyMCE editor !

Since Connections 6.0 CR5 , was released there was also an update of the great optional editor formerly know as Ephox now named TinyMCE 5.

I love this editor ( and my customers love it too) because all the features available, so I usually add it to all my Connections setup.

In almost every cases the setup is very easy because to perform the setup it's needed only to run a script and install an EAR on the appserver but in some cases due particular SSH config, it could be required the manual setup.

During my last CR5 upgrade I wasn't able to use the script so I've followed the manual setup like it's written  on IBM Documentation  at this page..


After the setup , I've restarted Connections that become unusable with most of the widgets unable to be loaded and inside my logs I had something similar of what it's described by this technote . :

 uncaught exception: Missing config.js in customization directory
GET https://yourname.dev.acme.
com/connections/resources/web/lconn/profiles/bizCard/nls/en-us/ui.js
404 Not Found 817ms ?includ...ariant= (line 6525)
"NetworkError: 404 Not Found - https://yourname.dev.acme.
com/connections/resources/web/lconn/profiles/bizCard/nls/en-us/ui.js"
ui.js


This ponted me to another of my environments where I've upgraded the editor using the script where I've noted the setup directory was renamed by the installation scropt ... with the new name  !


CONNECTIONS_CUSTOMIZATION_PATH/javascript/tiny/editors/connections



unfortunately the IBM documentation , wasn't  upgraded totally because title talk about TiniMCE but the installation path mentioned is still the  old one


CONNECTIONS_CUSTOMIZATION_PATH/javascript/ephox/editors/connections


To fix the issue, rename ephox folder in tiny and restart again Connections (or common app)

5 comments:

  1. Thanks for the heads up, Matteo! I’ve just alerted our docs team.

    ReplyDelete
  2. Hi Matteo,
    We were able to make that change... thank you for the information.
    https://www.ibm.com/support/knowledgecenter/en/SSYGQH_6.0.0/admin/install/t_inst_installing_textbox_io_manually.html
    Let me know if you run into any other concerns.

    ReplyDelete
  3. Thanks Matteo,
    We updated the page per your comment.
    https://www.ibm.com/support/knowledgecenter/en/SSYGQH_6.0.0/admin/install/t_inst_installing_textbox_io_manually.html
    Let me know if any other issues arise.

    ReplyDelete
  4. Documentation page has been updated.... thank you!

    ReplyDelete
    Replies
    1. Hi David, thanks for your feedback ! I've checked the page but the old path looks to be there, at least from here ( i don't know if from my connections i'm looking another server than you).

      The path on that page are still pointing to

      CONNECTIONS_CUSTOMIZATION_PATH/javascript/ephox/textbox/connections

      I'm not able to see a phrase like " in case of manual update you have to use the following new path
      CONNECTIONS_CUSTOMIZATION_PATH/javascript/tiny/editors/connections"

      (basically it's required to rename Ephox folder to Tiny)
      Have a nice day!!!!!!!!! :-)

      Delete