Strange behavior when changing entity definition and not compiling all components
Author: bschmidt@arz-emmendingen.de (BenjaminSchmidt)
Hi everybody, I got a strange behavior when changing the definition of an entity, which is painted in some components and I forget to compile all of these components. Uniface-Version: 9.30201 P222 Here´s a reduced example of the problem: I got an Entity PERSON with the fields ID and NAME. The Entity is painted on the two components S_PERSON (service) and F_PERSON (form). Now I add a new field AGE to the Entity definition (in database an also in the corresponding Uniface model). After changing and analyzing the model I compile the service S_PERSON but not the form F_PERSON. Here comes the strange behavior: When accessing data in the compiled service S_PERSON the new field AGE is not considered! It seems that I need to compile the form F_PERSON, because after compiling the service does know the new field AGE. Has anybody else the same behavior? I had this problem with different entities and components, so its not a individual case. It seems like Unfiace stores the information how to access a entity overall components, where the entity is painted. greets Benjamin




