Skip to main content
Question

When has the UKVERSION changed for components?

  • June 29, 2026
  • 10 replies
  • 83 views

Norbert Lauterbach
Forum|alt.badge.img+4

Hi all?

 

I installed the latest Patch  (044) in my development.

After transfering a form to test, I get an error .

[] User action failed to complete. Unexpected exception. [error=-100003] Repository data found, of which the K-version is too high.
 

The form is imported but I can’t open the IDE in test and prod any more :

 

 

10 replies

Juliano Anoar Haoach Garcia
Forum|alt.badge.img+1

You need to be careful, as this involves an import into Uniface, but the XML was likely modified by another tool. Running `update uform set ukversion = 7 where ukversion = 8 will resolve the issue.


Juliano Anoar Haoach Garcia
Forum|alt.badge.img+1

To verify, run `SELECT ukversion, COUNT(*) FROM uform GROUP BY ukversion`. You will see that there is only one record (or a few) with `ukversion = 8`. The majority will be 7, which is the acceptable value for your version.


Iain Sharp
Forum|alt.badge.img+5
  • Inspiring
  • June 29, 2026

Note the Kversion on the repository itself, and the panels (UPNL?) will also be 8, but this is correct. Not sure when the Uform kversions changed, all I can tell you is sometime between patch 004 and patch 034. 


Norbert Lauterbach
Forum|alt.badge.img+4

Hi all,

 

the error occurs first with Patch 038.

 

After getting the error

[] User action failed to complete. Unexpected exception. [error=-100003] Repository data found, of which the K-version is too high.

it is possible to open the form and change the form.

Funfact: This will set the UKVERSION back to 7!!!

 

But if you do not open and edit the form and exits the IDE, then you are in TROUBLE!


Ingo Stiller
Forum|alt.badge.img+3
  • Participating Frequently
  • July 1, 2026

Hi Norbert
As Iain said, the ukversion depends on the Uniface Version and increases monotonically. 
If you transfer components from a higher version to a lower you got an error.
Only way so “solve” it is to set ukversion back to it “correct” number :-)

BTW about your funfact : 
That makes sense, because saving the component sets ukversion with the hard-coded, appropriate version number.


Jonke Korzelius
Forum|alt.badge.img

Patch 10.4.03-038 indeed has changed the UKVERSION for the UFORM.DICT table to allow for the new UX Component Widget properties. Editing components will as such update the K-Version, and access to this repository with older patch installations is giving you this message as the database interface has changed.

In general I do not think it is a good idea to mix and match different patch levels on the same development repository. In addition, the fun-fact, the risk is you are losing data as the older repository does not ‘know’ the new properties. If you are not using UX Widgets you are save I think.

Hope this helps.


Norbert Lauterbach
Forum|alt.badge.img+4

Patch 038 indeed has changed the UKVERSION for the UFORM.DICT table to allow for the new UX Component Widget properties. Editing components will as such update the K-Version, and access to this repository with older patch installations is giving you this message as the database interface has changed.

In general I do not think it is a good idea to mix and match different patch levels on the same development repository. In addition, the fun-fact, the risk is you are losing data as the older repository does not ‘know’ the new properties. If you are not using UX Widgets you are save I think.

Hope this helps.

Hi Jonke,

for me this is a BUG!

There are no changes for Client/Server-Forms over years. Only UX changes.

So why should Client/Server-Forms change the K-Version???

 

Regards

Norbert


Iain Sharp
Forum|alt.badge.img+5
  • Inspiring
  • July 2, 2026

 

Hi all, 

I mean, the bug is allowing an export from kversion 8 to be imported on kversion 7 without changing the kversion. 

It should either not allow it (and the user changes it manually in the xml file if they dare) or auto convert it to the correct kversion on import. It should NOT cause it to prevent the IDE starting again because the data was now out of order. 

It is going to be a fact that development repositories will frequently be newer patch versions than production and/or QA. So the system ought to preserve it’s own integrity on export/import (either by disallowing it as above, or by fixing the data on import….. )

Regards, 

Iain


Norbert Lauterbach
Forum|alt.badge.img+4

Hi all,

I opend a case at RocketSoftware for this.

 

The error is thrown after $ude has left the TRY/CATCH-Block.

If an error occurs the import has to be ROLLBACKed.

 

 

trigger detail

throws

                $proc_tracing = 1

                try

                               $1 = $ude("import", "misc", "C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_tp.xml", "", "")

                               putmess "OK"

                               putmess $procreturncontext                            

                catch

                               putmess "ERROR"

                               putmess $procreturncontext

                               rollback

                endtry

                return 0

end

 

 

Der Aufruf erfolgt mit ide.exe /tst.

 

2026-06-30 09:38:02.09 - Uniface session started

(); DETAIL; 2; [0]; try

 (); DETAIL; 3; [0]; $1 = $ude("import","misc","C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_

8079 - Map from 'C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_tp.xml' to 'IDF:UFORM.DICT'.

8075 - Mapped from 'C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_tp.xml' to 'IDF:UFORM.DICT' total records/rows 1.

8079 - Map from 'C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_tp.xml' to 'IDF:UXGROUP.DICT'.

8075 - Mapped from 'C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_tp.xml' to 'IDF:UXGROUP.DICT' total records/rows 22.

8079 - Map from 'C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_tp.xml' to 'IDF:UXFIELD.DICT'.

8076 - Copied now 100 records/rows.

8075 - Mapped from 'C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_tp.xml' to 'IDF:UXFIELD.DICT' total records/rows 186.

(); DETAIL; 4; [0]; putmess "OK"

OK

(); DETAIL; 5; [0]; putmess $procreturncontext

Context=UDE importInputRecords=209OutputRecords=209InputDescriptors=3OutputDescriptors=3InputXmlFiles=1Release=10.4

(); DETAIL; 10; [0]; endtry

 (); DETAIL; 11; [0]; return (0)

==============  Exception log  [30-jun-26 09:38:04]  =================

  Error       : -100003

  Description : Repository data found, of which the K-version is too high.

  Context     :

[context]

  [ID] = "INCOMPATIBLE_REPOSDATA-TOO_NEW"

  [ENTITY] = "UFORM.DICT"

  [FIELD] = "UKVERSION"

  [VERSION_FOUND] = "8"

  [VERSION_ACCEPTABLE] = "7"

 

  Callstack   :

    Component    Instance         Type            Proc Container  Proc Module  Line Nr                       Code

    ---------    --------         ----            --------------  -----------  -------                       ----

    UUMIGRATION  _HALIAS00000002  .               OPR                          operation CHECKCOMPATIBILITY  63    return (THROWHANDSHAKEEXCEPTION("Repository data found, of which the %%$itemnr(4,VRUNTIMEVERSION_TOOHIGH)-version is too high.",VCONTEXT,$proccontext("STACK")))

    UUMIGRATION  _HALIAS00000002  .               OPR                          operation PREPAREMIGRATION    56     $instancehandle->checkCompatibility($CALLER$,PREQUIRESMIGRATION,PLOWESTUPGRABLEMVERSIONFOUND,VUPGRADABLETABLES)                                               

    UUMIGRATION  _HALIAS00000002  .               OPR                          operation EXECMIGRATION       2      $instancehandle->prepareMigration(VREQUIRESMIGRATION,VLOWESTUPGRABLEMVERSIONFOUND)                                                                            

    UUREPOS      _I00000001       .               OPR                          operation CONCLUDEIMPORT      17     $MIGRATIONHANDLER$->execMigration($instancehandle)                                                                                                            

    G_IDE        G_IDE            ENTITY.NOMODEL  TRG                          trigger DETAIL                4     $1 = $ude("import","misc","C:\Uniface\Hotzenplotz\Development\project\cpt_g_ara_tp.xml","","")                                                                 

2026-06-30 09:38:10.09 - Uniface session stopped

 


Jonke Korzelius
Forum|alt.badge.img

Thanks Norbert, we’ll take it from there.