Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17537

ezcomments: cannot add comments datatype to a class definition if no recaptcha key has been set in config file

    XMLWordPrintable

Details

    Description

      This is somewhat unexpected, as it used to work in eZP 4.3:
      1- enable extension
      2- add attribute of "comments" datatype to a content class
      3- click OK, you're done

      Now step 3 produces an error, and unless you go to recaptcha.net to get a key, or alter ezcomments.ini, you will not be able to add comments to your classes.

      While the intention is good, it does nothing to prevent the user from having an invalid configuration:

      • the recaptcha keys in ezcomments.ini could just be wrong
      • the recaptcha keys could be removed from ezcomments.ini aftre the class has been edited

      So I think it should not become a blocking check, but at most emit a warning

      Attachments

        Activity

          People

            chen chen
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: