Gentics Content.Node Changelog Summary

Gentics Content.Node 5.6.3


Bugfix

A bug that occurred during the building of 5.6.2 was fixed.


Gentics Content.Node 5.6.2


Manual Change

Disabled Aloha Editor block-plugin drag and drop feature

The block-plugin drag and drop feature is now disabled by default. Thefeature may be re-enabled with the following setting in the node.confconfiguration file: $ALOHA_SETTINGS[‘plugins‘][‘block‘][‘dragdrop‘] = ‘true‘;Changing this setting requires a tomcat restart.Please note that the block drag and drop functionality is experimentaland still in development.


Manual Change

Tagtypes implementation and Aloha Editor block-plugin

In order for tagtype implementations to be compatible with the block-pluginof Aloha-Editor (not loaded by default), they must either have a div or spanroot element.If a tagtype implementation does not have a div or span root element, itwill be automatically wrapped with a div, and an error will be logged inthe browser console.Due to the automatic wrapping, tagtypes may still work, even if they donot have a div or span root element, however, it is still an error, andtagtype implementations must be updated accordingly.


Bugfix

Fixed rendering a part from another tag in a velocity tag. The part will now be rendered in the scope of its container tag, so that resolving other parts via the notation will work now.


Bugfix

A bug in the image file upload was fixed. Previously the uploader did not use the custom filename. Additionally some special characters within the filename resulted in a SGB error.


Bugfix

Fixed saving pages after a tag was modified using the tagfill dialog. Before this fix, a page could not be properly saved after the tagfill dialog was used. When publishing the page, the user was notified about unsaved changes (even though the page should have been saved before). This issue only affected systems with the aloha_jqueryui feature enabled.


Bugfix

Fixed concurrent creation of multiple tags. For example, creating two links and saving would break at least one of the links.


Bugfix

Removed the delete icon for tags, that should not be deleted, because they are included in the template. This issue only affected systems with the aloha_jqueryui feature enabled.


Bugfix

A caching issue within the Gentics Content.Node Aloha Integeration Plugin was fixed. Previously newly inserted tags could not be found when a tag was edited using the tagfill dialog. A error was shown when the aloha block was beeing reloaded. This issue that only affected system with the aloha_jqueryui feature enabled is now resolved.


Bugfix

Fixed issue with opening the tagfill dialog in nested form elements. Previously the edit and delete icons for tags within form elements could not be used due to a issue with the click event handling. This issue only affected systems with the aloha_jqueryui feature enabled.


Bugfix

Fixed sorting pages by last edit time, which did not work anymore.


Bugfix

Omit saving the currently edited page twice, when it is published from within the edit mode. This issue only affected systems with the aloha_jqueryui feature enabled.


Bugfix

When the same live editable tag (which is a tag, that only contains a single part, which is live editable) is inserted more than once into the page‘s template, only the first occurrance of the tag will be made editable. Before this fix, some occurrances were also turned into blocks, which lead to unexpected behaviour. This fix only affects systems with the aloha_jqueryui feature enabled.


Bugfix

Fixed possible Internal Error due to a DB lock wait timeout when importing Templates with the new Import Mechanism.


Bugfix

Corrected syntax error in generated response XML file for the Scheduler Control API.


Bugfix

Fixed vanishing object properties of master object when localizing pages.


Bugfix

Fixed evaluation of $tag.empty for tags in a velocity tag, which always returned 1 (pretending that the tag was empty).


Bugfix

Fixed problems when translating pages that have localized copies using the REST API. Before this fix, not all of the language variants were shown in the page list.


Bugfix

Fixes bug in GCN Integration Plugin allowed contain-in rules to be broken wheninserting GCN Tag blocks into editables.


Bugfix

Added more detailed label descriptions to the form for creating overview Tag Types.


Bugfix

Fixed an issue when leaving a page using the Aloha Editor. Previously, informing the user about unsaved changes did not display correctly in Chrome and Safari.


Bugfix

Fixed clicking on a folder in the tree frame after saving the page,which would open in a new window instead of inside the correct frame.This error was only caused it the Aloha Editor undo-plugin was active.


Bugfix

Fixed appearance of unwanted empty paragraphs with the class “aloha-editing-p”, when using drag & drop to drag tags at the very beginning or end of an editable. This issue only affected systems with the aloha_jqueryui feature enabled.


Gentics Content.Node 5.6.1


Manual Change

(when updating to Aloha Editor with jQuery UI)

The GCN Intergration Plugin now supports the use of page object handlers as thelegacy version of this plugin did. The API has remained the same except forone significant change: Registered page object handler callbacks will receive aGCN.PageAPI page object rather than a plain-old-object.It might also be helpful to note that the page object you receive in thehandler function allows you to inspect exactly what data of the page objectwill be sent to the server in the save process (since for efficiency, onlychanges are send to the server during saving, and not the entire page data asin the legacy plugin). This introspection can be done using page.json().Beware however that the returned object is only useful for introspection andnot reflection. IE: Changing properties of the object returned by page.json()will not mutate the page object itself, this must done via the page object‘sAPI.


Manual Change

Possible Root elements of tagtypes changed.

The tags ‘p‘ and ‘h1‘ – ‘h6‘ are now recognized as valid root elements of tagtypes.When using tagtypes with such root elements before, the tags where wrapped into a ‘div‘ tag, which no longer will happen after this change.


Bugfix

Fixed the Cannot determine construct messages. Previously a bug caused the activation of this alert message box. This fix only applies when the feature aloha_jqueryui was enabled.


Bugfix

Fixed dom-to-xhtml serialization.This fix applies to any serialization function set withAloha.Editable.setContentSerializer().


Bugfix

This error was only caused it the Aloha Editor undo-plugin was active.Fixes GenticsContentPortlet in frontend editing szenarioThe backend path can differ between backend andfrontend mode. There was no way to configure thisin the implementation, since the gcn library isloaded dynamically by the gcn-plugin, and thegcn-plugin loads the page when it is initialized.


Bugfix

A javascript error was fixed that occured when editing a page that contained template tags that contained references to page tags. This fix only applies when the feature aloha_jqueryui was enabled.


Bugfix

The aloha-block classes will now be removed by the Gentics Content.Node Aloha Integeration Plugin. Previously the classes were saved.


Bugfix

Fixed a bug in the GCN Integration Plugin that resulted in editables that wereinside block elements from being Alohafied when a page is loaded for editing.


Bugfix

A javascript error was fixed that occured when clicking on the taglist menuentry while editing a page in aloha. This fix only applies when the feature aloha_jqueryui was enabled.


Bugfix

The vertical scrollbar within the page editing view will now be shown. Previously the scrollbar was hidden when using Mozilla Firefox.


Bugfix

Clicking publish from the page preview would result in an JavaScript error. Fixed.


Bugfix

A bug in the Gentics Content.Node JavaScript API was fixed. Previously saving an external link resulted in a javascript error although the link was saved successfully.


Bugfix

Fixed possible Internal Error due to a database lock when importing page variants that all link to other objects (in content tags or in object properties).


Bugfix

Fixed opening a page in preview mode locks page and saving a page doesn‘t unlock it.


Bugfix

The gcn linkbrowser button was not visible by default when the aloha_jqueryui feature was enabled.


Bugfix

Fixed a bug in the GCN JS API in which block tags which only contained aneditable would not be properly converted into notation during theencoding process. The underling problem was that the blocks which onlycontained editables were not being considered as blocks when they should havebeen.


Bugfix

Fixed inserting tags when using Aloha Editor: The tags will now be inserted at the correct position in the DOM (if possible), respecting the html5 specification.


Bugfix

The additional aloha-block classes will no longer be generated by Content.Node. Previously block elements that saved the classes in a tagpart would receive additional block classes for each editing process.


Gentics Content.Node 5.6.0


Manual Change

Aloha Editor 0.9.3 was removed

The legacy version of aloha editor was removed.


Manual Change

The policy-map schema used for the validation feature has been changed.

If you have configured a custom policy map by following these instructions please verify that your policy-map.custom.xml is still valid according to the schema .The custom policy map will automatically be validated during the restart of the tomcat while performing a GCN update. If the schema fails to validate, the update will likewise fail. If the update fails due to schema validation errors, it is sufficient to fix the validation erros and restart the tomcat afterwards.To validate the policy-map.custom.xml manually, you can download the current schema and perform the validation using a XML Schema validation tool. For example, using xmllint xmllint -schema policymap.xsd /Node/etc/policy-map.custom.xml


Manual Change

Aloha‘s ecma5.js was removed.

The ecma5.js added the following functions to the environment if they didn‘t exist already.* Function.prototype.bind* String.prototype.trim* Array.prototype.indexOf* Array.prototype.lastIndexOf* Array.prototype.forEach* Array.prototype.map* Array.prototype.filter* Array.prototype.every* Array.prototype.some* window.compareDocumentPosition* window.getComputedStyleAlso, the window.Node object was added to the environment containingDOM-Node type properties.Please make sure that custom javascript implementations don‘t rely onany of these properties being defined.Some of them are still provided by some browsers, but not by others.For example, String.prototype.trim and Array.prototype.indexOf will workon Chrome but not on older versions of IE.String.prototype.trim and Array.prototype.indexOf methods are the mostoften used functions, and, if custom implementations rely on some ofthese methods to be defined, it is most likely one those two.


Manual Change

Additional default plugins for new aloha editor version were added.

The following plugins were added to the default plugin list for the jqueryui version of aloha.* common/ui* common/block* extra/ribbonNOTE: This only applies when the feature aloha_jqueryui was enabled.


Enhancement

The Black Panther login screen has been tweaked to fit better with resolutions of 1024×768 and below.


Enhancement

Validation is now turned off when filling in tag-type defaultsIt was too awkward for implementers to work with automatic sanitation ofinputs when creating and filling in the default values of tag-types inthe Content.Admin area.Since only implementers have access to the Content.Admin area, andimplementers are inherently trusted to only input valid content into thesystem, validation is now disabled when filling in tag-type defaults.


Enhancement

The flashuploader was updated to a newer version. The uploader will now also keep the displayed upload queue. The upload button will now display without time delay when loading the page.


Enhancement

Discontinued old folder versions dialog.


Enhancement

The aloha_jqueryui feature was added. You can enable the jqueryui version of aloha by enabling this feature. Please note that the plugin API was modified thus manual changes to existing plugins are required. Please refer to the aloha editor changelog for additional information.NOTE: The older version of aloha editor (0.20.x) will be discontinued as for 30.09.2012 The upcoming October release will replace the 0.20.x version of aloha editor with the 0.21.x version.


Enhancement

Some additional features were added to the file_fetch feature. The feature is now called image import. See image import feature


Bugfix

Fixed missing translated names while exporting constructs (or other objects that have translatable names). Export files with missing translated names caused an Internal Error while importing.The translated names were missing in very special situations: if e.g. a construct part was exported and the reference id of the translatable names happened to be exactly the same id of another construct part that was exported before, the translatable names were not exported.


Bugfix

Clicking publish from the page preview would result in an JavaScript error. This error was now fixed.