Bug #5406
closed
Trying to remove a content view from an environment it's not in results in nil errors
Added by David Davis over 10 years ago.
Updated over 6 years ago.
Description
I think this affects both remove_from_environment and remove_associations.
unless @view.in_environment?(@environment)
fail HttpErrors::BadRequest, _("Content view '%{view}s' not in environment '%{env}s'.") %
{view: @view.name, environment: @environment.name}
end
- Difficulty set to easy
- Triaged changed from No to Yes
- Status changed from New to Duplicate
- Is duplicate of Bug #6848: Error when removing a content view from an environment added
- Translation missing: en.field_release set to 13
- Translation missing: en.field_release deleted (
13)
- Translation missing: en.field_release set to 166
Also available in: Atom
PDF