After installing the latest update, I have found that the display of my node is now broken.

I am using a combination of version 7.22 of the Bootstrap Theme ( https://www.drupal.org/project/bootstrap ), Display Suite ( https://www.drupal.org/project/ds ), and Display Suite Bootstrap Layouts ( https://www.drupal.org/project/ds_bootstrap_layouts ).

Before upgrading, comments were sitting in the "Right" container below other content. After the upgrade, the div with the class of "comments-wrapper" now only contains the heading "Comments" and all the comments made on the node are broken out of the "Right" container entirely and each comment is sitting in a div with a class of "ajax-comment-wrapper". The comment form is sitting inside the last comment container.

As a result the css is completely screwed and the Bootstrap responsiveness is lost. I've rolled back to Version 7.x-1.0-alpha2

Comments

jaydee1818’s picture

MediaFormat’s picture

Also had problems with this update, add comment links were no longer ajax.

Rolled back to 7.x-1.0-alpha2

muschpusch’s picture

Djungle: could you please create a new issue and give some more debug info?

muschpusch’s picture

Status: Active » Postponed (maintainer needs more info)

please check beta2

jaydee1818’s picture

Thanks, I tried beta 2 and when I add a comment, nothing appears to happen. The ajax widget spins, and the comment disappears. When I refresh the page, I can now see my comment. All the previous issues seem to have been resolved, which is great, but a new problem now exists. Again rolling back to 7.x-1.0-alpha2.

Thanks

formatC'vt’s picture

please check latest dev

jaydee1818’s picture

Tried latest dev but the same issue as beta 2. Rolled back to 7.x-1.0-alpha2.

formatC'vt’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Assigned: Unassigned » formatC'vt
Status: Postponed (maintainer needs more info) » Needs work

confirm, this is because of the theme, but i think we can fix it.
In my plans on next week.

  • formatC'vt committed b26af27 on 7.x-1.x
    Issue #2306463 by formatC'vt: Remove DIVs hardcoding.
    
formatC'vt’s picture

Status: Needs work » Postponed (maintainer needs more info)

Please check latest dev.
If problem still exist can you please try it without Display Suite?

jaydee1818’s picture

Tried latest dev but again no change - turning off Display Suite is just not an option. Cheers.

formatC'vt’s picture

I install Bootstrap theme (7.x-2.2), Display Suite, Display Suite Bootstrap Layouts and tried many combinations, but unfortunately i cannot reproduce this bug, all works fine.
Do you have a public site on internet with this bug where 7.x-1.0-alpha2 work fine?

tuutti’s picture

I'm not sure if my issue is exactly the same, but for some reason ajax_comments_process_node() won't create the initial .ajax-comment-wrapper dummy container (might or might not be related to display suite) and once someone post one comment, it work as expected.

I was able to fix it for now by adding the same dummy comment container ajax_comment_process_node() would add:

/**
 * Implements hook_prepropcess_HOOK().
 */
function MY_MODULE_preprocess_comment_wrapper(&$variables) {
  $variables['content']['comments']['comments']['dummyComment'] = array(
    '#prefix' => '<div class="ajax-comment-wrapper ajax-comment-dummy-comment" style="display:none">',
    '#type' => 'item',
    '#markup' => '',
    '#suffix' => '</div>',
  );
}

formatC&#039;vt’s picture

I think this is because some module rewrite $variables['content']['comments'] variable instead alter. Like views module rewrite this variable in node_row_node_view_preprocess_node(&$vars)

formatC&#039;vt’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)