Closed (works as designed)
Project:
Commerce File
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2012 at 12:58 UTC
Updated:
8 Jul 2013 at 11:05 UTC
Tried the latest beta and got this error when adding file license:
Fatal error: Call to undefined method CommerceFileLicenseEntity::bundle() in /sites/all/modules/commerce_file/includes/commerce_file_license.entity.inc on line 546
Comments
Comment #1
recrit commentedThe entity class for Commerce File License use to have its own bundle() method; however, the Entity module now provides this method on its base Entity class per http://drupalcode.org/project/entity.git/commit/4b9bf09e74c8be8febd8eff7.... This change would in Entity 7.x-1.0-rc2+.
If your Entity module is not 7.x-1.0-rc2+, then download the latest at http://drupal.org/project/entity
I've update the module project page to reflect the requirement for Entity 7.x-1.0-rc2+.
Comment #2
bojanz commented