In the API documentation for node_permissions_get_configured_types() it says:
To exclude a specific node from getting permissions defined for it, set the
node_permissions_$type
variable to 0.
This is correct for Drupal 7, but not correct for Backdrop. From looking at the code, it is referring to the setting "$info->settings['node_permissions']
" which would be specified in the node definition originally passed tonode_type_save()
.
I think this also should be documented in a change record.
What's my next step for reporting/fixing this?
Recent comments
This was from examining line 2463- of the webform.module, where // Attach necessary JavaScript and CSS. $form['#attached'] = array( 'css' => array(backdrop_get_path('module', 'webform...
How do I diagnose Webform Conditionals failing?
d'oh. Because of course it is reassigning. Don't mind me... the correct syntax is $form['#attached']['js'][] = backdrop_get_path('module', 'mymodule') . '/mymodule.js';
How do I diagnose Webform Conditionals failing?
Issue opened at Github: https://github.com/backdrop-contrib/webform/issues/220
How do I diagnose Webform Conditionals failing?
I have confirmed, that using the method $form['#attached']['js'] stops the webform.js from loading. https://docs.backdropcms.org/form_api#attached shows that this is the expected method of JS loading...
How do I diagnose Webform Conditionals failing?
So the issue is what I have done here: https://forum.backdropcms.org/forum/webform-references-tree in that by loading extra JS into $form['#attached']['js'], the Backdrop.webform.conditionalCheck...
How do I diagnose Webform Conditionals failing?