The actions menu is missing on subobject instances

Document ID : KB000124401
Last Modified Date : 28/01/2019
Show Technical Document Details
Issue:
The subobject properties page contains a "Copy Enabled" flag.
If this is ticked any subobject instance will show the Actions menu with a Copy action on the properties page.
If the "Copy Enabled" flag is unticked, the Actions menu disappears.

User-added image

 
Cause:
It might happen that the "Copy Enabled" flag is not properly set at DB level and gets out of sync with the flag set on the object properties page.
Resolution:
  1. Go to Studio > Objects 
  2. Edit the object itself
Example of the URL:   http://myserver/niku/nu#action:odf.objectProperties&object=jm_sub&component=odf&object_id=5029190  
  1. Note the id on the URL.
  2. Run the following query to the DB:
select is_copy_enabled from ODF_OBJECTS where id = 5029190 
  1. This setting should be in sync with the application (0 unticked / 1 ticked)
  2. If the DB value does not match, the value at DB, change the flag at the UI level, save the changes, reset it back and save