Data Policy Agreement results in a fatal error if no data policy created

Created on 6 October 2023, about 1 year ago
Updated 9 October 2023, about 1 year ago

Problem/Motivation

The Data Policy Agreement detail page results in a fatal error if there are no data policies created (when the module is just enabled).

Steps to reproduce

  1. Enable module Data policy
  2. Go to the page /data-policy-agreement

Proposed resolution

Check if data policy exists $this->dataPolicyConsentManager->isDataPolicy() in the agreementAccess() method.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine ribel πŸ‡ΊπŸ‡¦Lviv

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

Comments & Activities

Production build 0.71.5 2024