Attachable addon dependency problem

Hello.
I have been download sample cuba-example-using-attachable and try to update it to actual version.
I updated dependencies in build.gradle:

dependencies {
    appComponent("com.haulmont.cuba:cuba-global:$cubaVersion")
    appComponent("de.diedavids.cuba.attachable:attachable-global:0.4.2")
    appComponent("de.balvi.cuba.declarativecontrollers:declarativecontrollers-global:0.6.0")
    appComponent("de.diedavids.cuba.taggable:taggable-global:0.2.3")
    appComponent("de.diedavids.cuba.entitysoftreference:entity-soft-reference-global:0.3.2")
}

There is no any buttons. What am i doing wrong?

Hi,

Without any additional details I guess you don’t have added an annotation on your entity class(es).

Please take a closer look on the Add-on ReadMe file.

If this isn’t the point please give us more information what isn’t working, e.g. error logs, etc. …
Did you check the sample project which @mario has added to the add-on description?

CU
Steven

1 Like

Yes, I have been download the @mario`s sample and try to update dependensies.

Nop. There is annotations there, because it is @mario`s sample.

In app.log I can see only one warning:

2018-08-21 10:12:33.789 WARN [localhost-startStop-1] com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine - 
====================================================================
WARNING: The application contains unapplied database update scripts:

70-cuba-component-attachable/update/hsql/18/180209-1-createAttachement.sql
70-cuba-component-attachable/update/hsql/18/180209-2-createAttachement.sql
70-cuba-component-attachable/update/hsql/18/180209-2-updateAttachement.sql
70-cuba-component-attachable/update/hsql/18/180210-2-updateAttachement01.sql

Set 'cuba.automaticDatabaseUpdate' application property to 'true' to
 initialize and update database on startup.

I have been try to update db: Run -> Update database, but warning still there.

Upd: I have been try to recreate db and there is no the warning anymore, but buttons still missing.

hi,

I uploaded the example to the latest version (0.4.2). You can check it out and see if it works.

The images in the README are made after the example was updated, so it worked for me :slight_smile:

Bye
Mario

Thanks, @Mario. It`s working for me too.
Can you tell me where is my mistake for updating your sample?
cuba-example-using-attachable.zip (92.1 KB)