Skip to main content

Patch 10.4.02-007

Downloads

Product availability Matrix (PAM)
Downloads of this patch are available from the Rocket Customer Support Portal.
Further explanation can be found here.

New Feature(s)

  • Load Database Definitions added for MySQL. See Project editor -> Resource Browser -> Tables tab.
  • Load Database Definitions added for Sybase. See Project editor -> Resource Browser -> Tables tab
  • Load Database Definitions added for SQLLite. See Project editor -> Resource Browser -> Tables tab

Fixes

UNI-30112 When the 'goto' statement is used to jump in or out of a try/catch/finally block, Uniface may crash.
UNI-29528 Migrated service with 170+ entities gives compilation warning 1028 and no fields can be added.
UNI-18026 IDE: Right-clicking outside a field in error starts a context menu



UNI-30112  -  When the 'goto' statement is used to jump in or out of a try/catch/finally block, Uniface may crash.

Solution available in patch(es):      10.4.02-007

Description:

Uniface can crash on a 'goto' statement that either jumps in or out a try/catch/finally block.

Use case 1:
try
    $1=1
    goto step1
  catch
    if ($1 == 2)
      step2:
        $1 = $1 +1
    endif
  endtry
 
  if ($1 = 1)
    goto step2
  endif  
 
step1:
  throw -100

In the above use case, executing endtry a second time causes Uniface to crash.



Use case 2:
try
  goto label1
  putmess "inside goto"
catch
  putmess $procerror
  label2:
  putmess "inside label2"
endtry
 
if(1)
  goto label2
endif
 
label1:
  throw -1001
 
Uniface crashes when trying to execute endtry a second time.

Environment:

+ Uniface version: 10.4.02
+ Platforms: ALL

Workaround:

None.

Notes:

Uniface will give a compile error when it encounters a 'goto' statement or goto label inside a try, catch, or finally block.

Back to top



UNI-29528  -  Migrated service with 170+ entities gives compilation warning 1028 and no fields can be added.

Solution available in patch(es):      10.4.02-007, 10.3.03-028

Description:

A service with many entities is migrated from Uniface Nine to Uniface 10.

After migration compilation in Uniface 10 gives many 1028 warnings:

Compile Service: 'MYSERVICE'
warning: 1028 - Horizontal size entity ENT1 adjusted to be multiple of occurrence size.
warning: 1028 - Horizontal size entity ENT2 adjusted to be multiple of occurrence size.
warning: 1028 - Horizontal size entity ENT3 adjusted to be multiple of occurrence size.

These warnings do not occur compiling in Uniface 9.7.

Adding a field in Uniface 10 and compiling gives errors with error code 1069 :

error: 1069 - No entity or model specified for field F1.
error: 1069 - No entity or model specified for field STRING.

Environment:

+ Uniface version: 10.x
+ Platform: ALL

Workaround:

In Uniface 9.7
Duplicate service myservice to service myserviceform
Detach service myserviceform from service template myservicetemplate
Convert service myserviceform to form
Export form myserviceform

In Uniface 10.3:
Import the export with myserviceform to migrate the form to Uniface 10.3.
Rename service myservice in Uniface 10.3 to myservicebak
Rename form myserviceform to form myservice
myservice is now a form that can be compiled without 1028 errors , fields can be added.

Notes:

This problem is solved.

Back to top



UNI-18026  -  IDE: Right-clicking outside a field in error starts a context menu

Solution available in patch(es):      10.4.02-007, 10.3.03-028

Description:

In case a UDO object or property in any editor of the IDE is renamed or changed to a value that is invalid (e.g. UDO name that starts with a number or contains spaces, which is not allowed) then an error pop-up is shown. While the field (i.e. UDO object or property name) is in error the user still can move the mouse cursor outside the field and open a context menu of the editor. This should not be possible.

Environment:

+Uniface Version : 10
+Operating System : OS independent
+Database : DBMS independent

Workaround:

None.

Notes:

This problem is solved.

Back to top



Be the first to reply!