Found while working on #44162: Relationships between issues: support for parent issue and related issues, template_preprocess_project_issue_issue_link() uses the entity metadata wrapper, but Entity API is not listed as an explicit dependency in the project_issue info file.

Even though it already is an implicit dependency through Entity reference, that template preprocess function doesn't depend on ER so I think we should declare it properly.

CommentFileSizeAuthor
#1 1972738.patch369 bytesamateescu

Comments

amateescu’s picture

Status: Active » Needs review
StatusFileSize
new369 bytes

Here's a patch for that. I didn't include an update function because it's already taken care of by project_issue_update_7000().

dww’s picture

Status: Needs review » Fixed
Issue tags: +project, +drupal.org D7

Sounds good. Pushed to 7.x-2.x:

http://drupalcode.org/project/project_issue.git/commit/ef0bed5

Thanks!
-Derek

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