privacywire icon indicating copy to clipboard operation
privacywire copied to clipboard

InputfieldWrapper warnings: skipped fields because mudules doesn't exist

Open cybermano opened this issue 3 years ago • 1 comments

Installed PrivacyWire 1.1.1 on PW 3.0.165 from PW modules "NEW" tab -> Add Module From Directory by ModuleClassName

Noticed a few warnings for skipped fields:

  • cookie_groups
  • content_banner_text
  • content_banner_details_text
  • content_banner_privacy_link
  • content_banner_imprint_link
  • ask_consent_message

and relative "showif" dependencies, because modules doesn't exist:

  • InputfieldAsmselect
  • InputfieldCkeditor
  • InputfieldUrl

Attached screenshoot after two submit.

Solved editing PrivacyWireConfig.php at lines

15 'type' => 'asmselct' -> 'type' => 'InputfieldAsmSelect'

126, 151, 273 'type' => 'ckeditor' -> 'type' => 'InputfieldCKEditor'

167, 184 'type' => 'url' -> 'type' => 'InputfieldUrl'

Please, consider that installation of PrivacyWire 1.1.0 doesn't cause this issue for right config:

    // opt-in type
    $f = $this->modules->get('InputfieldAsmSelect');

    // banner body copy
    // banner details text
    // ask for consent text field        
    $f = $this->modules->get('InputfieldCKEditor');
    
    // privacy policy url
    // imprint url        
    $f = $this->modules->get('InputfieldURL');        

Errore Installazione PrivacyWire (2)

cybermano avatar Oct 14 '22 07:10 cybermano

Can confirm this. Settings like the OP.

Works with PrivacyWire 1.1.1 on PW 3.0.200

olafgleba avatar Nov 11 '22 09:11 olafgleba