Gentics Content.Node Changelog Summary

Gentics Content.Node 5.17.8


Documentation RT58355

Updated overview tag part description.


Bugfix RT54802

With Firefox the menu list in the template preview is displayed always with two columns instead of one. This has been fixed.


Bugfix

An issue within the REST API was fixed which could lead to stalling mysql server connections. Ultimately this issue could result in ‘Too many connections‘ errors.


Bugfix RT58365

The main Gentics Content.Node connection pool can now be configured.
Please take a look at our Memory & Performance FAQ for more information.


Bugfix RT58327

Various issues in the scheduler task event view were fixed:

  • Previously it was possible to select a task event dependency which would cause a closed dependency cycle. Additional checks were added to disalow a task event select which would lead to this condition.
  • The translations within the task view property dialog were fixed and improved.
  • A bug was fixed which would cause parent dependencies for the task event not to show up within the task event dependency selection dropdown.

Gentics Content.Node 5.17.7


Bugfix RT58321

Deleting of a single page could fail under the following circumstances:

  • The page was published into a Content Repository with instant publishing
  • The feature publish_cache was used
  • The feature disable_instant_delete was not used
  • Another page contained a link to the deleted page

The issue has been fixed now, deleting pages will now work under all circumstances.


Bugfix RT58339

When using the feature publish_cache in multichannelling environments, it was possible that channel specific data was cached, which could cause incorrect rendering of pages. This has been fixed now. Additionally, rendering of tag.visible did not return the correct value when using publish_cache, which also has been fixed.


Bugfix RT58211

GenticsImageStore: On some occasions, when resizing a JPEG image with sRGB colorspace the resulting image has wrong colors. This has been fixed.


Bugfix RT58343

GenticsImageStore paths were not correctly recognized when a CDATA XML Tag was used to wrap the URL. Example: CDATA[//some-thing.at.com/stop_pan_thing/GenticsImageStore/200/230/smart{fileName} ]]


Bugfix RT58298

Sometimes, when a successful multithreaded publish process was finalized, errors like “An already closed connction got into the pool.” would be logged (as FATAL errors), which did not indicate any real errors. The finalizing algorithm has been changed to avoid those error messages.


Bugfix RT58346

Fetching some commonly used data during a publish process was done very iffenciently and has been improved.


Gentics Content.Node 5.17.6


Documentation RT58295

Added missing documentation to the PermResource, the resource for reading and writing permissions in the REST Api. Previously it was unclear how to get the folder and role permissions and how to read the permission bit strings in the response. This has been fixed.


Bugfix RT58285

The handling of “internal” datasources datasources that belong to a specific tag that has a part of type "Datasource" during Import/Export has been fixed. They will no longer be treated as individual objects, but as tag content. The changes in detail are:

  • Internal datasources will no longer be excluded, even if datasources are excluded generally. Internal datasources must always be exported within the tags that contain them.
  • Internal datasources will no longer be shown in the export overview or detail list.
  • Internal datasources will no longer be shown in the conflict view.
  • Internal datasources will no longer be shown in the import overview or detail list.

Bugfix RT58319

Tagtype fill: When editing a tagtype that has a “Select (multiple)“-part in the “Fill“ dialog, a broken error message appeared when saving the properties with “OK“. This happened on systems where GCN runs with PHP 5.3 or higher and has been fixed now. Error message: “A tag name contains invalid characters: Line: 1 Tag:”.


Bugfix RT58243

In some cases, due to incorrect tagmap data, the content repository synchronization during the publish process would detect changes in the content repository structure every time. This caused “changing” the structure on every publish run, which did not actually change anything, but just took some unnecessary time. This has been fixed now, the content repository structure will now only be modified if really necessary.


Bugfix RT58328

If a content file has no file extension, then the meta attribute file.extension returned the file name instead of an empty string. This has been fixed.


Bugfix RT58324

Pages that were published into a multichannelling aware contentrepository during a regular publish process did not get the correct updatetimestamp set. As a result, caches were not cleared by syncchecking. This has been fixed now.


Bugfix RT58278

When a file was dirted and then deleted during the next publish run, the publish run possibly failed, when the file should be published into a Content Repository where the attribute binarycontent was a filesystem attribute. This has been fixed now, the behavior in such cases will now be the same as when the attribute binarycontent is no filesystem attribute.


Bugfix RT58320

When deleting tagtype parts a SGB error was thrown. This error occurred since GCN 5.16.0 and has now been fixed. The error only occured on systems that have been migrated to the new package structure with distribution Apache and PHP CURL support.


Gentics Content.Node 5.17.5


Manual Change

Aloha Link Plugin: Links were not escaped correctly when inserted with the aloha link plugin.

With this manual change you can place special characters in a link and it will be escaped according to html standards. To do the manual change please update the tagfill of the tagtype “Aloha Link“ (keyword: “gtxalohapagelink”) to match the code in the Aloha Page Link Tag Description.


Documentation RT58220

Some incorrect and unclear parts of the documentation of the Migration Tool have been improved: The documentation now states, that the Migration Tool is available for object property definitions, not for Tagtypes. Also the unclear german translation of the description of the checkbox to “apply a migration to all pages using the same template as this page” has been corrected.


Bugfix RT58268

The handling of dirt events that affected many objects was done very inefficient, which could cause long processing times during which the publish process would not start. This has been fixed now, dirting is done more efficient now.


Bugfix RT58260

The database connections for Content Repositories did no use connection pools. This caused many reconnects to the Content Repository databases when instant publishing is used. This has been changed now. Database connections to Content Repository databases will now be pooled (with very conservative settings). This means that connections will be kept alive and can be reused after the publish process is finished.


Bugfix RT58250

Sorting the Queue by Node caused an SGB, which has been fixed now.


Bugfix RT58243

The output generated by the function “Check data” for Content Repositories will now contain some detailed information about why objects are not supposed to be contained in the checked Content Repository.


Bugfix RT58296

When creating a page with non-ASCII characters in its name in the backend, the automatically created filename would sometimes be empty.


Bugfix RT58207

For users that are restricted to channels, sometimes the context menu in the folder tree was not shown for inherited folders in the channel due to an incorrect permission check. This occurred right after the login, before the user entered a specific node by clicking onto a folder in the folder tree. After entering a node and refreshing the folder tree, the context menu was shown correctly for all folders. This has been fixed now, the context menu will now be correct right from the start.


Bugfix RT58271

Doubleclicking on the duplicate button when doing image manipulation could create two duplicates with the same file name. This has been fixed.


Bugfix RT58279

When pages were moved to other folders, they were left in the “locked“ state, even if they were not locked before. Also when pages were copied, the copy was “locked”. Both issues have been fixed now, moving or copying pages will not lock them.


Gentics Content.Node 5.17.4


Security RT58241

The Apache Tomcat will automatically be updated to version 6.0.41 in order to secure various vulnerabilities.


Enhancement RT58235

The date formatter imp that was removed in GCN Update 5.17.0 was added back to Gentics Content.Node. The documentation for the imp can be found in the Gentics Content.Node Guides


Bugfix RT58246

When using the feature omit_publish_table, changing and republishing pages caused excessive dirting. This has been fixed now.


Bugfix RT58275

Some inperformant SQL queries that were used while versioning pages could cause long database locks. Those SQL queries have been fixed now.


Bugfix RT58264

GenticsImageStore: URLs inside tags in pages were not correctly recognized during the publish process.


Bugfix KB1726

Dirting: Previously, when opening the properties of a folder and clicking “OK” without changing any values, all objects depending on this folder have been dirted and re-published. From now on this will only happen when one of the values changes.


Bugfix RT58216

When using the copy_tags feature to copy & paste tags from one page into another, the new inserted tags would not get the edit buttons right away. It was necessary to save and reopen the page in edit mode to get the edit buttons for the copied tag. This has been fixed now, copied tags will immediately get the edit buttons.


Bugfix RT58131

Fixed webapp startup issues: When triggered, the safety check for mappedglobalidsequence would prevent the detection of a new license key. In some configurations, the startup safety checks would not output any error message. Now, there‘s additional logging as well as output to stderr, in case something prevents the startup of the webapp. The webapp will now refuse to startup if no globalprefix is set and no valid license can be found.


Gentics Content.Node 5.17.3


Bugfix RT58213

When a page was scheduled to be published at a certain time in the future, and was then processed by a publish run with multithreaded publishing, the publishtimestamp that was written into the Content Repository was not the one from the publish process but from the time, the editor scheduled the publishing. This has been fixed now, the publishtimestamp written into the Content Repository will now be correct.


Bugfix RT58217

When creating page variants on a system using multichannelling, variants created in nodes (not channels) were also marked as belonging to a channel. This caused the “synchronisation” of page variants to fail: When a variant is modified and published, a new version containing the new content is supposed to be created for all page variants, which did not happen in these cases. This has been fixed now. The update will also correct the incorrect channel setting of the page variants. Missing page versions will be added and affected pages will be scheduled to be republished in the next publish run.


Gentics Content.Node 5.17.2


Bugfix RT58192

The quickjump did not work as expected when using multichannelling: inherited pages in channels were not found and pages in master nodes were shown as result, even if the user was restricted see pages in channels only. Both issues have been fixed now.


Bugfix RT58209

Publishing to content repositories: Updatetimestamps are now created from wallclock time instead of from transaction time. This will mitigate portal cache consistency issues when instant publishing is used during a publish run.


Bugfix RT58227

Fixed too strict permission check that would hide the “OK” button when editing a user. This way changing a user‘s group assignments directly from the user‘s edit view was not possible any more.


Gentics Content.Node 5.17.1


Manual Change

Aloha Link Plugin: Links were not escaped correctly when inserted with the aloha link plugin.

With this manual change you can place special characters in a link and it will be escaped according to html standards. To do the manual change please update the tagfill of the tagtype “Aloha Link“ (keyword: “gtxalohapagelink”) to match the code in the Aloha Page Link Tag Description.


Bugfix RT58159

Fixed multiple issues with roles: Group permission dialog would not display the assigned role count. Roles would not be assigned recursively to child objects in the Group permission dialog. All roles except one would be ignored most of the time if multiple roles are assigned to an object.


Bugfix RT58204

Deleting a node could sometimes lead to database inconsistencies (leaving a node entry without its root folder). Those database inconsistencies would subsequently cause publish failures. The process of deleting nodes has been modified, so that no database inconsistencies can occur, even if the process itself is interrupted or fails.


Bugfix RT58196

When publishing into a content repository that has instant publishing enabled, the publish process could fail with various errors thrown by the JDBC driver, which were caused by not-threadsafe usage of the database connection. This has been fixed now, access to the content repository database will now be properly synchronized.


Bugfix RT58156

Implementations using the Datasource PartType did not work as expected. Dirting of dependent objects did not work, when tags containing a Datasource PartType were changed and doing imports of tags with Datasource PartTypes could cause Internal Errors. These errors have been fixed now. Possibly incorrect references to datasources in the database will automatically be corrected during the next initialization of Gentics Content.Node.


Bugfix RT58179

Setting permissions on custom tree entries did not work as expected and has been fixed now.


Bugfix RT58198

The language shown in the page properties dialog was not the page‘s language, but the currently selected content language. This has been fixed now. The page‘s language will be shown now. If the page has no language set, the field will be empty.


Bugfix RT58187

When using Roles to grant permissions on languages to users, the “translate“ role was not sufficient to create language variants of existing pages. This has been fixed now, users with the “translate“ role for a specific language are allowed to create translations (language variants of existing pages), whereas creation of new pages still requires the “create“ role (or the “create” group permission).


Bugfix RT58202

Localizing folders in a deep folder structure failed with an Exception. The Exception was thrown when the folder property “Directory” was more than 64 characters long. This has been fixed. Now folder paths can be 255 characters long.


Gentics Content.Node 5.17.0


Microsoft Internet Explorer 7 is no longer supported. Please update to Internet Explorer 8 or newer.


Aloha Editor Change Summary
Aloha Editor now allows for central configuration of allowed nodes. This reduces configuration overhead as all plugins will adhere these settings. The format plugin now supports hierarchical headlines. New documentation for creating a video block has been added. Aloha Editor is now capable of automatically purging empty paragraphs and multiple breaks.
See the Aloha Editor Changelog for detailed information.


Manual Change

Java Project Structure Changes

Various changes to the internal Gentics Content.Node project structure have been made. These changes might affect existing build setups that make use of the provided maven artifacts.

  • The restapi-lib maven module was removed. Please use the drop in replacement contentnode-restapi module instead.
  • Various deprecated internal non-api classes were removed. (e.g: GenticsContentModule2)
  • Various classes for Gentics Content.Node and Gentics Portal.Node were moved from node-lib to either contentnode-lib and portalnode-lib.
  • Various third party libraries were removed from shared libraries.
  • The ModelBuilderApiHelper class was moved from contentnode-api to contentnode-lib.
  • The java source code will now be compiled for JDK 1.7. Gentics Content.Node 5 will no longer work with JDK 1.6 and older JDKs.
    Please note that the JDK 1.7 runtime is required since the hotfix versions 5.14.22 and 5.15.9
    The following shared libraries have been updated:
  • commons-codec 1.3 to 1.8
  • commons-io 1.4 to 2.4
  • commons-lang 2.4 to 2.6
  • commons-logging 1.1 to 1.1.3
  • jersey-multipart 1.3 has been updated to a JDK 6 version
  • image4j 0.7 has been updated to a JDK 6 version

The following libraries have been added:

  • httpclient 4.3.1
  • httpcore 4.3

The following shared libraries have been removed:

  • commons-discovery 0.2
  • PDFBox 0.7.2
  • oro 2.0.8
  • kaptcha 2.3
  • image4j 0.7 (sources jar)
  • closure-compiler r1918
  • ant 1.9.3
  • ant-launcher 1.8.2
  • args4j 2.0.12
  • guava 10.0.1
  • jarjar 1.1
  • js 1.7R2
  • jsr305–1.3.9

Manual Change

Deprecation of the date formatter imp

The date formatter imp ($cms.imps.date) was removed. You may use the DateTools imps to format dates ($cms.imps.velocitytools.date). You can search for affected constructs with the following SQL Statement:
   select c.id as construct_id, c.keyword as construct_keyword, p.keyword as part_keyword from value v left join part p on p.id = v.part_id left join construct c on c.id = p.construct_id where v.value_text like '%$cms.imps.date%'; 

Optional Manual Change

The feature “disableIE7StandardsMode” is now officially supported.

If you have websites that rely on having the latest Internet Explorer document mode, you might want consider setting it to true.
$FEATURE[“disableIE7StandardsMode”] = true;
Read the feature documentation for more information.
Please note that Internet Explorer 10 has known rendering issues (white pages) with frames and should therefore not be used.


Feature KB1391

New Rest API method to get External links inside a folder.
The new REST API Method getExternalLinks will return all external links found in pages inside a given folder. The FolderResource documentation contains more information on this topic.


Feature KB1481

The publish_folder_startpage feature was added. With this feature it is possible to automatically publish the startpage of the parentfolder of a page that is published during a instant publishing run. Feature Overview


Enhancement RT57896

The method TagAPI.parts() is introduced to allow one to enumerate a tag‘s parts.


Enhancement RM13252

The REST API for templates has been extended with two new methods:

  • /CNPortletapp/rest/template/link links templates to folders
  • /CNPortletapp/rest/template/unlink unlinks templates from folders

See the REST API Documentation for details.


Enhancement

The new feature publish_inherited_source allows reusing the published source of the master page when publishing an inherited page into a channel. This might improve the publish performance, if checking for localization of the page‘s dependencies is faster than actually rendering the page.


Enhancement

With the new feature omit_publish_table turned on, pages that are not published into the filesystem will no longer be written into the publish table. This reduces the size of the backend database and increases the overall publish performance if not all nodes publish into the filesystem.


Enhancement

Several performance optimizations for the publish process have been done:

  • Rendering performance for objects from channels has been improved
  • Some frequently used data will now be prepared and kept in memory during the publish process.
    This slightly increases the memory consumption, but reduces the number of necessary database queries during the publish process
  • When publishing into a multichannelling aware Content Repository, the setting $MULTITHREADED_PUBLISHING["batchsize"] can be used to increase performance of writing into the Content Repository.
  • Publishing of files/images and folders into a Content Repository has been improved by preparing the data for groups of objects, which reduces the number of necessary sql statements.
  • Handling of very large publish tables has been improved. The statements have been optimized for performance and the new feature omit_publish_table allows reducing the size.
  • When the feature resumable_publish_process is used, every object that is successfully published needs to be removed from the publish_queue. The delete statements will now be batched together to increase performance.
  • The new setting $CONTENTREPOSITORY_FETCHSIZE allows to configure a higher fetchsize to be used by the JDBC connector for the Content Repository. This will increase the performance for reading data from the Content Repository during the publish process.

Enhancement

The REST Model for pages and templates has been extended to contain multichannelling information. Also the REST Model of Properties has been extended to support all existing PartTypes. See the Gentics Content.Node REST API Documentation for details.


Enhancement

The default pagesize for various lists has been set to 20 to increase system performance. Additional page size options have been added. It is now possible to select a page size of 100 and 250. Previously the default pagesize limit was set to unlimited.


Enhancement

The new feature publish_cache improves the publish performance by caching page data. Please consult the Gentics Content.Node Documentation for details.


Bugfix KB1568

Gentics Image Store: Resizing an image produced an exception so the image did not resize and instead the original image was returned. This has been fixed.


Bugfix RT58117

Pasting a link didn‘t mark it as Aloha Page link. This has been fixed.


Bugfix RT57383

Using an apostrophe in a folder name would lead to a javascript error in the folder listings. Also, javascript escape sequences were interpreted by mistake. This has been fixed.


Bugfix RT58165

It is no longer possible to store files (or images) with empty filename using the properties dialog, the imagemanipulation2 or the REST API.


Bugfix RT57729

Importing an object property definition containing an overview sometimes failed with an “Internal error”, because the export contained an invalid reference. This has been fixed now. New exports of object property definitions containing overviews can now be successfully imported.


Bugfix

A javascript error in the webdav (folder open) dialog was fixed. Internet Explorer 11 does no longer support opening of webdav folders. Instead webdav folders have to be opened manually now. The infotext in the webdav dialog was adapted.


Bugfix RT58146

Some actions on tagtypes, like adding or removing a part did not change the editor and edittime of the construct itself. This has been changed now. Also log entries will now be added on all actions of constructs.


Bugfix RT58176

2dotool integration: “Request translation” would log out the user immediately.


Bugfix RT58089

Fixed the GCN JS API to enable it to recover after a JavaScript exception occurs with no ‘error-encountered‘ handler registered to.