Not sure why the entity is not loaded (id is passed to entity_extract_ids() instead of comment objects). I fixed it with the following patch, but I'm not sure if this is the right way to do it. I think comments should be loaded by menu, but in menu_router we have "comment/%/edit" instead of "comment/%comment/edit" and comment_load() is not called.

Any ideas?

Comments

abarban’s picture

StatusFileSize
new614 bytes

Same issue.
but I think that the right way is patch new file "panelizer/plugins/entity/comment.inc"

as attached file !

wish to help!

Status: Needs review » Needs work

The last submitted patch, 1: patch_panelizer_comment.patch, failed testing.

abarban’s picture

StatusFileSize
new494 bytes
damienmckenna’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 3: patch_commit_5a2fa368ebe1.patch, failed testing.

damienmckenna’s picture

Status: Needs work » Fixed

I was able to manually apply the patch in #3, which is fine. Thanks for the patch, I've committed it.

Status: Fixed » Closed (fixed)

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