Core

Build 1501 on 14/Nov/2017  This topic last edited on: 12/Oct/2016, at 12:56

[1] Config: BigPoints = true by default in GlobalConfig

GN4-4568

In new installations of GN4 2.4, the measurement system will be based by default on "big points" (1/72 inches), and not on the traditional 1/72.27 inches point. This does not affect any upgrade from previous version, unless you reload also the GlobalConfig.xml file.

Modified date: 25/07/2016 15:11:46 - P4 Changelist: 83086 - From build: main.2977.x (T)

[22] Core: recompute should not update last modified date

GN4-4474

When upgrading a db without recompute and doing it later, the last modified date of all the elements recomputed was updated to the current date. 
Now the explicit recompute is not updating the last modified date anymore.

Modified date: 13/07/2016 15:10:44 - P4 Changelist: 82925 - From build: main.2965.x (T)

 

[122] Core: date format problem when indexing using SolR

GN4-4405

An error occurs for unknown reason while indexing using Solr, a wrong date format is passed. Now the standard XML format is used always.

Modified date: 26/05/2016 15:22:20 - P4 Changelist: 82293 - From build: main.2917.x (T)

[149] Core: limit growing of gn_AuditTable

GN4-2519

The cleanup process has been enhanced through additional features related to audit trail purging that are controlled by the '''ServerAuditConfig''' configuration file. The configuration has the following format with a '''Rules''' section containing zero or more '''Rule''' elements providing fine control over the purging of specified object types.
<ServerAuditConfig xmlns="http://www.teradp.com/schemas/GN4/1/ServerAuditConfig.xsd" 
DefaultDeleteCount="500" DefaultTimeout="600">
<Rules>
<Rule ..... />
<Rule ..... />
</Rules>
</ServerConfig>
Has two properties:
* '''DefaultDeleteCount''': (integer) the default delete count that will be used by a purging rule. The default is 500.
* '''DefaultTimeout''': (integer) the default timeout in seconds that will be used by a purging rule. The default is 300.
The '''Rules''' section contains zero or more '''Rule''' elements, e.g.
<Rules>
<Rule ObjectTypeNames="object" Actions="Update AutoUpdate" RetentionCount="3"/>
<Rule ObjectTypeNames="config" Action="Update AutoUpdate" RetentionPeriod="2" />
Each rule element has the following attributes:
* '''ObjectTypeNames''': (string) contains one or more object type name separated by a space that identify the object type name of the audit trail items to be purged.
* '''IncludeDerivedObjectTypes''': (boolean) indicates to include those object types derived from those specified in '''ObjectTypeNames'''. The default is true.
* '''RetentionCount''': (integer) if specified (is zero or more) indicates the number of audit trail items that match the '''ObjectTypeNames''' and '''Actions''' values that will be retained. Only one of '''RetentionCount''' and '''RetentionPeriod''' may be specified in a rule.
* '''RetentionPeriod''': (time span) if specified indicates the time span of audit trail items that match the '''ObjectTypeNames''' and '''Actions''' values that will be retained. Only one of '''RetentionCount''' and '''RetentionPeriod''' may be specified in a rule.
* '''Actions''': (string) contains one or more action separated by a space that are to be purged. The values can be any of the system actions apart from '''Create''', i.e.: Login Logout Update Spike !Unspike !AutoUpdate Startup Shutdown !PartitionReset !CopyTo Publish Unpublish Search Load !CheckOut !UncheckOut !IncGlobalCounter !IncCounter !SpikeUpdate Print Open Close Variant Custom
* '''DeleteCount''': (integer) indicates the number of audit trail entries matching the rule that will be deleted at any one time. If not specified then the value used will be that generated by the value of '''DefaultDeleteCount''' in the '''ServerAuditConfig''' element.
* '''Timeout''': (integer) specifies the timeout in seconds used by the purging rules. If not specified then the value used will be that generated by the value of '''DefaultTimeout''' specified in the '''ServerAuditConfig''' element.

Modified date: 16/05/2016 12:00:57 - P4 Changelist: 82121 - From build: main.2907.x

[6] Core: SchemaTable never deleted

GN4-2466

Add a new step that clean all schema records except the latest 10.

Modified date: 27/04/2016 17:59:28 - P4 Changelist: 81899 - From build: main.2888.x (T)

 

[20] Core: increase tParam lenght to 2k

GN4-4241

increased to 2048.

Modified date: 19/04/2016 15:20:13 - P4 Changelist: 81780 - From build: main.2880.x (T)

 

[44] Core: use load balancer set-cookie mechanism

GN4-4105

When using load balancers that use the cookie mechanism to keep affinity, a cookie is sent back to the client at the first call into a "Set-Cookie" header. This cookie is then used for all the ws calls done by the client applications. 

Modified date: 12/04/2016 17:56:38 - P4 Changelist: 81661 - From build: main.2873.x

 

[48] Core: add the possibility to archive the crop information on original images

GN4-4196

Now, when archiving the original wire images (parameter 'archiveUseOriginal' = true), the crop information are retained in the archived pictures.
This allows, in case of complains about images, to track who did it and what was done on an image.
The xsl_Archive.xslt and xsl_ImportDocumentsImage.xslt config files must be re-imported.

Modified date: 12/04/2016 10:52:34 - P4 Changelist: 81640 - From build: main.2873.x (T)

 

[62] Core: problem archiving a page with article that referenced a spiked element

GN4-4185

Archiving a page with article that referenced a spiked element, the version of the spiked element was not archived.
This was because the versions of the spiked (or purged) elements were returned in xml without the object id.
Modified the archiving stylesheet (xsl_Archive.xslt) to read the version even if the id attribute is missing.
The stylesheet xsl_Archive.xslt must be reimported.
Note that, if the 'archiveFormat' format user parameter is not set (for example, to "Default:J"), then the archiving process could fail with the following error:
"The text does not have a format and no default format has been specified".

Modified date: 06/04/2016 18:25:34 - P4 Changelist: 81578 - From build: main.2867.x (T)

 

[66] Core: conversion problem of SQL Query

GN4-4201

When searching for a string enumeration attribute having at least 5 elements, the query returned no objects, even if there were objects with the specified values into the database.
For example, the query

gn4:source[gn4:mediaTypes/gn4:in='Image']

 
returned no sources, but there were GN4 sources having the 'Image' media type.
Now fixed: the above query correctly filters the GN4 sources and returns them.

Modified date: 06/04/2016 11:20:08 - P4 Changelist: 81561 - From build: main.2867.x (T)

 

[89] Core: new section and zone attribute to filter for archive

GN4-4192

Section and zone objects have a new attribute named "isArchive" (boolean, default false). When the attribute is true, the entry is not displayed nor selectable in Edt page panel. Note that default named objects ("-") will be always available.

Modified date: 31/03/2016 12:19:23 - P4 Changelist: 81475 - From build: main.2861.x (T)

 

[173] Core: Inline picture should be referenced by article and exportable in xml

GN4-2858

The inline pictures are now referenced by the article's text.
In this way it will not possible to delete the pictures that are put inline into an article.
A new attribute 'inlineObjs' has been added to the gn4:txt and gn4:layer objects into the schema.
When a text is saved by clients or by i4, the 'inlineObjs' attribute is populated with the references to the inline images.
Added a sample feed (feed_ArticleInlineImgs.xml) which shows how to read the 'inlineObjs' attribute to render the inline images as HTML.

Modified date: 03/03/2016 11:57:11 - P4 Changelist: 81080 - From build: main.2833.x (T)

 

[212] Core: change objects key

GN4-4035

It is now possible to change the objects key in case the key is additive, so the new key has exactly the same fields of the old one plus some new.

Modified date: 17/02/2016 18:13:10 - P4 Changelist: 80859 - From build: main.2818.x (T)

 

[300] Core: compare versions

GN4-93

In this thread there is the basic functionalities, commands, rules and configuration.
http://forum.teradp.com/topic.asp?TOPIC_ID=899

Modified date: 22/01/2016 12:34:49 - P4 Changelist: 80407 - From build: main.2792.x (T)

 

[311] Core: better index on FolderObjectTable to speed up queries for folderkind and creation date

GN4-3891

The SQL index on "folderKind" of s_FolderObjectTable has been modified in "folderKind creationDate" to speed up queries on both fields. Note: reindex of s_FolderObjectTable table could take some minutes on databases containing millions of records.

Modified date: 15/01/2016 14:58:53 - P4 Changelist: 80347 - From build: main.2785.x (T)

 

[361] Core: Add configurable time-out to the sendemail activity

GN4-3736

Added the possibility to set the time-out to the SendEmail activity.
Now the SendEmail activity has a new property called 'Timeout' which accepts the number of seconds.
The default is 100 seconds.

Modified date: 15/12/2015 12:15:57 - P4 Changelist: 80051 - From build: main.2754.x (T)

 

[380] Core: feed command returned children content not accessible

GN4-3800

The do.ashx?cmd=feed command wrongly returned children attributes on which the user had no permissions. Now fixed.

Modified date: 04/12/2015 18:01:09 - P4 Changelist: 79927 - From build: main.2743.x (T)