You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
normally you should not need to add this id. How is the association between Articles and ArticlesTranslationsdefined in the ArticlesTable and in the ArticlesTranslationsTable?
Hi,
I have an article with translated name and description. I use the shadow strategy.
If I want to create multiple translations for an article, I need to pass this:
If I do this, the translations do persist in the database and the id is corrected by cakephp to the article id.
I I omit the 'id', then the translation do not get persisted.
It does not feel intuitive nor very nice to add an id that doesn't mean anything.
I use Cakephp 4.4
The text was updated successfully, but these errors were encountered: