GNPortal

Build 1501 on 14/Nov/2017  This topic last edited on: 20/Nov/2015, at 14:28

GNPortal: objectUI wrongly set numeric values

GN4-3659

If the browser was in italian, GNPortal failed to manage decimal numbers like 12,34 (with the comma as decimal separator).
The attribute was defined this way:
<xs:attribute name="myAttribute">
 <xs:simpleType>
   <xs:restriction base="xs:decimal">
     <xs:totalDigits value='10'/>
     <xs:fractionDigits value='2'/>
   </xs:restriction>
 </xs:simpleType>
</xs:attribute>

Every time the editing dialog was opened, the value resulted multiplied by 100 (1234,00... 123400,00... etc...). This was because GN4 read the value from the ObjectUI using the Invariant culture (that is, using the dot as decimal separator), ignoring the client culture. So, the number was saved into the database without the decimal separator at all. Now fixed: if the browser is in italian GN4 expects the comma as decimal separator; vice versa, if the browser is in english, you have to write the number using the dot.

Modified date: 26/10/2015 16:04:08 - P4 Changelist: 79016 - From build: 2.2.2704.x

 

GNPortal: not possible to navigate tree in template using root

GN4-3505

The tree template with a root defined threw an exception expanding a tree leaf.

Modified date: 03/09/2015 17:10:07 - P4 Changelist: 78379 - From build: 2.2.2651.x (T)