Skip to main content

When a developer attempts to add a LOV (in Aurena) to the company id field using entity “Company” or entity set “Company Set” the developer gets an error as follows (when deploying the client file)

   CompanyLovList is redeclared, without @Override or @Overtake annotation. Type: ListDefinition, Name: CompanyLovList, Source: PERSON/LovCompanySelector.fragment, Used in: Client PERSON/LovCompanySelector.fragment

   0SourceFile]: C:\Users\amiglk\AppData\Local\DeveloperStudio\Cache\10.82\build_home_cache\__cmbvmpe4158_DEVAPP10_build_home\files\model\person\LovCompanySelector.fragment

   0Line]: 35

 

Below is the screenshot

When further investigated, it is found that the code generation for any LOV related to the entity “Company” will generate a “CompanyLovList”. But as stated in the error, this name is already used in the core layer in the PERSON/LovCompanySelector.fragment file. This is causing the error and the client file including the LOV cannot be deployed.

 

any solutions or a workaround for this ?

Are you creating a new Selector? If it’s the case you need to change the name. isn’t it? because it has declared before in core. If you want to do a change to existing selector(Lov) need to use override annotation.

 

Regards,

Kavindu