Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleXperienCentral R32

XperienCentral R32

Release date: May 12, 2021


Note

Minimum Version Required for Upgrading to XperienCentral R32

Upgrading to XperienCentral R32 requires a minimum version of R26. If you are upgrading from XperienCentral R25 or lower, you must first upgrade to R26 and then upgrade to XperienCentral R32.


HTML
<br />

Check Configuration Files

See Check Configuration Files.

Rebuild the Content Index

Due to a change in the Search functionality, you must rebuild the content index. To do so, manually remove the <webmanager-root>/work/contentindex directory after the upgrade and allow it to be regenerated after restarting XperienCentral. Selecting contentindex_queue_empty_reindex in the Setup Tool is not sufficient.

Check Google Sitemap Generator Schedule

In R32, XperienCentral generates and uploads a Google Sitemap by default once per day. If you do not want to generate a sitemap, clear the field google_sitemap_generator_schedule in the application_settings section on the General tab of the Setup Tool in each environment where you want to disable this functionality. You can also change the schedule to something else if desired.

Changes to the XperienCentral API

Removed Methods

The following deprecated methods have been removed in R32:

  • MediaRepository#updateMediaItem
  • PageManagementService#addLeadText(PageVersion pageversion)
  • PageManagementService#addLeadText(PageModel pageModel)

Added Methods

The methods PageVersion#getLead() and PageVersion#setLead, which were deprecated in XperienCentral version 10.13.0, have been undeprecated in R32. In version R32, page versions and media item versions now have both a Lead Text (#getLead) and a Meta Description (#getMetaDescription) which can be used separately. The purpose of the Meta Description field is to fill the head field in the HTML used by search engines. For example

<meta name="description" content="value of the meta description field" />

The purpose of the Lead field is to provide a short summary of the content item's content and can be used, for example, as a summary in a search function or in a Content Overview. One important difference is that, as designed, the Meta Description field is not meant to be visible to end users while the Lead Text is.

The following methods have been moved from MediaItemVersion to ContentItemVersion in order to make lead text and lead images also available to pages in the API:

  • String getLead();
  • void setLead(String leadText);
  • Image getLeadImage();
  • Image getLeadImageThumbnail();
  • Image getAttachedLeadImage();
  • void setAttachedLeadImage(FileResource leadImage);
  • MediaItem getLeadImageMediaItem();
  • void setLeadImageMediaItem(final MediaItem mediaItem);

Furthermore, the following methods have been added to ContentItemVersion

  • boolean getHasLead();
  • void removeAttachedLeadImage();
  • void setAttachedLeadImageFocusPoint(int x, int y);

Default Content Language

  • A change has been made to how the default content language is determined. Beginning in XperienCentral R31, the default language is the language that has the rank of "1" in the list of supported languages in the Language Labels panel.
  • In XperienCentral versions R31 and higher, the default content language is set to Dutch in a clean installation.
  • After upgrading to XperienCentral R31, ensure that the default content language for your channel(s) in the edit environment is correct. See Setting the Default Content Language for XperienCentral.
  • In some cases, the new default language setting can have an effect on the default language of the home page on the website frontend. After upgrading, check the language used by your home page on the frontend by default.
  • Due to issue GXWM-37982,  it might not be possible to set the default content language in the Language Labels panel in a multi-channel (multi-website) installation. If you run into this problem, the order can be changed using the JCR Browser. Follow these steps:
    1. Look up the channel node using "//element(*)[@wm:id='26098']". Change "26098" to the ID of the channel for which you want to modify the default content language.
    2. Click the wo_wmregistry child node in the results.
    3. Edit the wo:language property.
    4. Reorder the UUIDs as desired and then click [Update].

    GX WebManager JUnit wrapper Bundle

    Beginning in XperienCentral version R31, the JUnit wrapper bundle is no longer deployed to XperienCentral by default. It is possible that plugins (including any reusables) built against older versions of XperienCentral still have an indirect dependency on this plugin which results in those dependent plugins not starting when XperienCentral is started.

    There are two ways to fix this issue:

    • Rebuild custom plugin(s) against XperienCentral version R31
    • For resuables for which no R31 version or later version is available, you can manually deploy the webmanager-junit-bundle which can be found in the SDK under /maven2-repository/nl/gx/webmanager/testbundles/webmanager-junit-bundle.









    Expand
    titleXperienCentral R31

    XperienCentral R31

    Release date: March 4, 2021


    Note

    Minimum Version Required for Upgrading to XperienCentral R31

    Upgrading to XperienCentral R31 requires a minimum version of R26. If you are upgrading from XperienCentral R25 or lower, you must first upgrade to R26 and then upgrade to XperienCentral R31.


    HTML
    <br />

    Check Configuration Files

    See Check Configuration Files.

    Default Content Language

    • A change has been made to how the default content language is determined. Beginning in XperienCentral R31, the default language is the language that has the rank of "1" in the list of supported languages in the Language Labels panel.
    • In XperienCentral versions R31 and higher, the default content language is set to Dutch in a clean installation.
    • After upgrading to XperienCentral R31, ensure that the default content language for your channel(s) in the edit environment is correct. See Setting the Default Content Language for XperienCentral.
    • In some cases, the new default language setting can have an effect on the default language of the home page on the website frontend. After upgrading, check the language used by your home page on the frontend by default.
    • Due to issue GXWM-37982,  it might not be possible to set the default content language in the Language Labels panel in a multi-channel (multi-website) installation. If you run into this problem, the order can be changed using the JCR Browser. Follow these steps:

      1. Look up the channel node using "//element(*)[@wm:id='26098']". Change "26098" to the ID of the channel for which you want to modify the default content language.
      2. Click the wo_wmregistry child node in the results.
      3. Edit the wo:language property.
      4. Reorder the UUIDs as desired and then click [Update].

    New WYSIWYG Editor in Interactive Forms

    In XperienCentral R31, a new WYSIWYG editor has been introduced in Interactive Forms. It generates HTML in a slightly different way than the old editor. The changes introduced by the new WYSIWYG editor are:

    • Heading tags (<h1>-<h6>) and <p> tags are no longer wrapped in a <div>.
    • <b> tags are replaced by <strong> tags.
    • <i> tags are replaced by <em> tags.
    • Indendation in lists is now rendered using nested lists instead of <blockquote/> elements.

    After ugrading to XperienCentral R31, HTML already stored in existing form elements remains unchanged. All new HTML produced after the upgrade will be generated in the new way. If you edit an existing WYSIWYG form element, it will be upgraded after saving. In some cases, extra whitespace may be introduced between elements.

    GX Software recommends that you check new or modified WYSIWYG form elements after upgrading to R31 in order to determine whether you need to tweak your CSS to accommodate the behavior of the new WYSIWYG editor.

    Connector Definition for AJP/1.3 Connections

    In Tomcat versions 8.5.51, 9.0.31 and later, the connector definition in the server.xml file must contain the attribute secretRequired="false" for AJP/1.3 connections. Please check your server.xml file and ensure that the connector definition contains this attribute. For example:

    <Connector port="8009" enableLookups="false" redirectPort="8443" debug="1" protocol="AJP/1.3" secretRequired="false" URIEncoding="UTF-8" connectionTimeout="600000" />

    getPersonalizationXMLData

    The getPersonalizationXMLData method in the PersonalizationXMLDataProvider API has been changed from

    String getPersonalizationXMLData(HttpServletRequest request);

    to

    String getPersonalizationXMLData(HttpServletRequest request, HttpServletResponse response);

    If you use this method, you must refactor your code to cope with the modification.

    getMediaItemVersions

    In version R31 of XperienCentral, the tag getMediaItemVersions has been added and the tag getMediaItems has been deprecated. getMediaItemVersions was added to support media item language versions. If you currently use the getMediaItems tag in your code, you need to refactor it to use getMediaItemVersions. Proceed as follows:

    Replace all instances of the getMediaItems tag:


    Code Block
    themeEclipse
    <wm:getmediaitems var="mediaItems"/>
    
    <c:forEach var="mediaItem" items="${mediaItems}">  
       <c:set var="mediaItemVersion" value="${mediaItem}"/>
       <c:if test="${not empty mediaItemVersion}">
          //attributes
       </c:if>
    </c:forEach>


    to getMediaItemVersions. For example:


    Code Block
    themeEclipse
    <wm:getmediaitemversions var="mediaItemVersions"/>
    
    <c:forEach var="mediaItemVersion" items="${mediaItemVersions}"> 
       //attributes
    </c:forEach>


    See getMediaItemVersions and the Javadoc for getMediaItemVersions for more information.

    Delete Cache Before to Logging in to an XperienCentral R31 Installation Running Locally

    Due to a change to internal JavaScript files in this release, GX Software strongly recommends that you delete your browser cache if you run a local installation of XperienCentral R31 after upgrading but before logging in for the first time. This does not apply to XperienCentral running on an Apache web server.

    GX WebManager JUnit

    wrapper

    Wrapper Bundle

    Beginning in XperienCentral version R31, the JUnit wrapper bundle is no longer deployed to XperienCentral by default. It is possible that plugins (including any reusables) built against older versions of XperienCentral still have an indirect dependency on this plugin which results in those dependent plugins not starting when XperienCentral is started.

    There are two ways to fix this issue:

    • Rebuild custom plugin(s) against XperienCentral version R31
    • For resuables for which no R31 version or later version is available, you can manually deploy the webmanager-junit-bundle which can be found in the SDK under /maven2-repository/nl/gx/webmanager/testbundles/webmanager-junit-bundle.


    ...