Project

General

Profile

Actions

Bug #1768

closed

xmera Omnia - Collection #1753: Bug fixes for diverse modules

NoMethodError in LegalNotesController#privacy_consent

Added by liaham over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

Description

🐛 Thanks for taking the time to fill out this bug report! 😊

What did you expect?

When I configure the legal notes plugin to support privacy consent I would not expect to run into an NoMethodError.

What has happened instead?

After configuring the plugin I got the error message undefined method []' for nil:NilClass`:

What could be a possible solution?

Check if params are defined at all.

How can we reproduce the problem?

  1. Navigate to Administration » Plugins » Legal Notes
  2. Check the box for privacy consent

In what environment are you running the plugin?

Please copy and paste your environment information as displayed in Administration » Information or run bin/about in the root dir of your Redmine instance.

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari

Relevant log output

# Copy your log output (log/production.log) here



Files

Actions #1

Updated by liaham over 1 year ago

  • Affected Version 0.3.0 added
  • Affected Version deleted (0.2.2)
Actions #2

Updated by liaham over 1 year ago

  • Status changed from New to Closed
  • Parent task set to #1753
Actions #3

Updated by liaham over 1 year ago

  • Target version changed from unreleased to 0.3.1
Actions #4

Updated by liaham over 1 year ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF