Download & Extend

The load_comments row option in exported views is ignored

Project:Display Suite
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Steps to reproduce:

  1. Create a view with a row style of "Display suite" and "Comments" enabled.
  2. Export the view to a feature-package.
  3. Note that the comment form and comments are displayed.
  4. Revert the view so it is only defined in code, and not in the database.
    • Expected behaviour: Comments are still visible.
    • Actual behaviour: Comments are not visible.

I expected that #1240510: Views row options missing in views export would fix this, but it does not.

Comments

#1

Status:needs work» needs review

This patch should fix it.

AttachmentSize
1423498-1.patch 988 bytes

#2

Status:needs review» reviewed & tested by the community

I tested on the latest stable release (7.x-1.4). The second hunk of the patch did not apply; The bad code appears to have been introduced since 1.4 was released. Then it worked great!

Thanks for the fast response! :)

#3

Status:reviewed & tested by the community» fixed

Yeah, patches are always against latest dev of course, committed and pushed!

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here