When creating a new node. The autocompletes give a ajax error. Introduced with core function opigno_og_context_handler.

"Related to your first post. Regarding the ajax error. This bug was recently introduced, and it is only triggered on a node add, not when editing a node. Instead of changing the widgets of the fields, you can edit the opigno.module, inside the function opigno_og_context_handler(), change the line

if (og_is_group('node', node_load(arg(6)))) {

to

if (is_numeric(arg(6))&&og_is_group('node', node_load(arg(6)))) {

We will include this on our next release. Thank you for your feedback. Best regards"

https://www.opigno.org/en/comment/695#comment-695

CommentFileSizeAuthor
#3 opigno.module.diff807 bytesdiegodalr3
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jamesap’s picture

Issue summary: View changes
Jamesap’s picture

Status: Active » Patch (to be ported)
diegodalr3’s picture

FileSize
807 bytes

I think the problem is the autocomplete is not only for nodes, should be for all entities referenced. Attach this patch as possible solution.

Jamesap’s picture

Status: Patch (to be ported) » Closed (fixed)

Released in Opigno 1.8