Warning: 1000Entry EntryName from model overwrites definition from component. In future Uniface versions, this will be reversed

This compiler message is generated in Uniface 9 when duplicate entries are detected in the model and in the component.

Problem

ProcScript inheritance has changed in Uniface 10, from being container-based in Uniface 9, to being module-based in Uniface 10. This has consequences for the inheritance of entries and the order in which entries are compiled into the component.

  • In Uniface 9, entries defined in standard triggers and Local Proc Modules of modeled objects are not inherited if any code is defined in the equivalent local containers.

  • In Uniface 10, the compiler concatenates inherited entries then local entries, per object. If the same entry is found in multiple locations, the last entry encountered is used.

Resolution

To resolve the issue, review your code and refactor it—move the entry that needs to be compiled to a location where it will be compiled in Uniface 10.

Note:  We recommend that you define entries in the Script container of the component object. This makes it easier to centralize, locate, and maintain these modules.

Entries