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

[DOCS] dataProcessingService vs dataServiceProcessor #24

Open SvenJuergens opened 4 years ago

SvenJuergens commented 4 years ago

Bug Report

Prerequisites

Description

the current versions 9.0.3 and 10.0.3 thrown an exception if you follow the documentation.

Here in all three places: https://docs.typo3.org/p/t3g/usercentrics/9.0/en-us/Usage/Index.html

https://docs.typo3.org/p/t3g/usercentrics/10.0/en-us/Usage/Index.html

https://github.com/TYPO3GmbH/ext-usercentrics/blob/develop/README.md

there is still talk of "dataProcessingService but it is only used in the Develop Branch. Branch 9 and 10 and the publishing versions in TER still use "dataServiceProcessor".

[Description of the bug]

Steps to Reproduce

1 Install extension from ter and 2.use the documentation

plugin.tx_usercentrics {
    jsFiles {
        10 {
            dataProcessingService = Google Analytics
            file = https://www.google-analytics.com/analytics.js
            attributes {
                async = async
            }
        }
    }
    jsInline {
        10 {
            dataProcessingService = Google Analytics
            value (
                window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
                ga('create', 'UA-XXXXX-Y', 'auto');
                ga('send', 'pageview');
            )
        }
    }
}
  1. Website down

Expected behavior: a running website

Actual behavior: "Oops, an error occurred!"

NeoBlack commented 4 years ago

Thank you for your report, we checked this and "only" the documentation for v9 and v10 are wrong. We will update the documentation in the branches soon.

please use dataProcessingService for develop branch version and dataServiceProcessor for v9 and v10. Sorry for the confusion.

SvenJuergens commented 4 years ago

thanks a lot