Skip to Content
0
Former Member
May 11, 2008 at 03:23 PM

Metadata constraint of Component is violated

25 Views

Hello All,

When setting calculated field of Context attribute to true, a getter and setter method are created.

After setting it back to false, and clicking ok on 'this will delete the getter and setter methods' I get the following error which makes the project build fail:

ERROR: Metadata constraint of Component <MY WEBDYNPRO COMPONENT> is violated: CalculatedAttributeProvider "//WebDynpro/Controller:com.etc.etc<MY VIEW>/CalculatedAttributeProvider:<CONTEXT ATTRIBUTE>", Role "Attribute": A minimum of 1 object(s) is required

Also, if I look in the methods tab, the getter and setter methods are still there.

I tried deleting the attribute, but this unfortunately did not help.