TYPO3GmbH / ext-usercentrics

This extension integrates Usercentrics (Compliance and Consent Management) into TYPO3.
GNU General Public License v2.0
4 stars 6 forks source link

Usercentrics ID not configurable #19

Closed h3nn3s closed 4 years ago

h3nn3s commented 4 years ago

Bug Report

Usercentrics ID not configured, please set plugin.tx_usercentrics.settingsId in your TypoScript configuration

Prerequisites

Description

The TypoScript option should be plugin.tx_usercentrics.settingsId but is plugin.tx_usercentrics.id.

Steps to Reproduce

  1. Set the constant
  2. Clear caches and open the frontend.

Expected behavior: [What you expected to happen] Usercentrics integration is working correct, because the Constant is populated to plugin.tx_usercentrics.settingsId

Actual behavior: [What actually happened] Error: Usercentrics ID not configured, please set plugin.tx_usercentrics.settingsId in your TypoScript configuration

Versions

9.0.1

andreaskienast commented 4 years ago

Thank you for your report.

Can you please elaborate where you see plugin.tx_usercentrics.id is used? I just checked the PageRender pre-process hook and the method isValidId() seems fine to me: https://github.com/TYPO3GmbH/ext-usercentrics/blob/9.0.1/Classes/Hooks/PageRendererPreProcess.php#L119-L122

Kind regards Andreas

h3nn3s commented 4 years ago

Sorry, please have a look at the static TypoScript: https://github.com/TYPO3GmbH/ext-usercentrics/blob/9.0.1/Configuration/TypoScript/Static/setup.typoscript#L2