Problem/Motivation

Conditional fields is not working for Registrant entities.
When you try to add a dependency on that entity type, which will take you to a route like this:
/admin/structure/conditional_fields/registrant/default/field_your_field/8be3f1ab-ee9e-4a5e-bd3b-6d20bda452b4/edit, the system responds with a "Page not found".

I'm not sure if the root cause of this issue is in the recurring_events_registration submodule or in the Conditional Fields module.

It is known that the Conditional Fields module had some problems to work properly in entities different from nodes. However I see it is working well for other entity types such as the eventseries or the eventinstance.

Steps to reproduce

  • Go to Structure > Conditional fields
  • Find the entity type Registrant and click on it. Then click on the bundle Default
  • Select the correct values for "Target field", "Controlled by" and click the "Add dependency" button
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

camilo.escobar created an issue. See original summary.

camilo.escobar’s picture

Issue summary: View changes
owenbush’s picture

Thanks for raising this issue. I'll try and take a look at what is going on.

owenbush’s picture

Status: Active » Needs review

This is ready for review.

owenbush’s picture

Bumping to merge when my local dev is sorted.

  • owenbush committed d77b58a3 on 2.0.x
    Issue #3322998 by owenbush: Conditional Fields not working for...

  • owenbush committed 8db092ac on 8.x-1.x
    Issue #3322998 by owenbush: Conditional Fields not working for...
owenbush’s picture

Status: Needs review » Fixed

This has now been merged into the latest dev branches.

Status: Fixed » Closed (fixed)

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