Reuse of field with ECA

Created on 15 August 2024, 4 months ago
Updated 4 September 2024, 4 months ago

Steps to reproduce

1. Create field in content type
2. Use it in ECA
3. Reuse that field for another content type (second one)
4. Try to delete field from the second content type
5. It wants to delete ALL ECA models where that field from the first content type is being used.

I have reused field by a mistake, and now I would like to delete it from that second content type.

Current solution > you need to do export of all mentioned ECA models and after the field is removed , you need to import back.

πŸ’¬ Support request
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @coaston
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    Yes, this is an issue with dependencies. The same thing would happen with e.g. views as well. This is how automatically determined dependencies operate and what the consequences are.

    If this is a problem for you, you can disable that level of dependency management for ECA in the settings.

  • πŸ‡ΈπŸ‡°Slovakia coaston

    Thank you. I did not know that dependency can be disabled in settings.my bad.

  • Status changed to Fixed 4 months ago
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    No worries, I guess this is not widely known anyways. Please note, you have to re-save your ECA models after you've changed the settings. Otherwise, the dependencies remain there.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024