?
Referenced as Pull Request for: # 7583
avatar Devportobello
Devportobello
5 Jun 2015

Concept

When you use multilanguage site, you could use associations for menuitems, contents...

Issue

When you setup associations between elements and then delete elements, associations table is not purged.
Dunno if this a real issue, but with many elements this table could be really filled. Moreover, this associations persist in table.

Test

  • Create 2 articles with 2 languages different.
  • Associate them.
  • In your database you will see 2 line in "#__associations" table, example:
id  context         key
1   com_content.item    9d603efd64821ea52e1c1921cee55305
2   com_content.item    9d603efd64821ea52e1c1921cee55305
  • Remove 1 article.
  • In your database, table "associations", same lines as before.

Last

I know this could be fixed by a cron task script, but this is for developper, did we need to add something to handle that (plugin ?).

avatar Devportobello Devportobello - open - 5 Jun 2015
avatar zero-24 zero-24 - change - 5 Jun 2015
The description was changed
Labels Added: ?
avatar zero-24 zero-24 - change - 5 Jun 2015
Category Multilanguage
avatar Devportobello Devportobello - change - 25 Jun 2015
Title
Deleting contents using associations dont purge associations table
Deleting contents associated to associations dont purge associations table
avatar infograf768
infograf768 - comment - 26 Jul 2015

I confirm the issue.
I am pretty sure it was working OK when we first implemented associations for menu items.

avatar brianteeman
brianteeman - comment - 30 Jul 2015

See #7583


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7127.

avatar brianteeman brianteeman - change - 30 Jul 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-07-30 08:29:38
Closed_By brianteeman
avatar brianteeman brianteeman - close - 30 Jul 2015

Add a Comment

Login with GitHub to post a comment