PoeticMediaLab / Lacuna

Lacuna: Digital Annotation for Teaching and Learning
http://www.lacunastories.com
GNU General Public License v2.0
36 stars 20 forks source link

Annotation install FieldException error from reserved word use #5

Closed amandavisconti closed 9 years ago

amandavisconti commented 9 years ago

In modules/custom/annotation/annotation.install lines 49 and 57, I changed 'name' in 'field_name' => 'name', to some other identifier. Use of 'name' is causing an error on module install for me on several installation tests, and the error was fixed by replacing 'name' with a non-reserved word. I didn't see any other lines that would require corresponding changes, but 'name' is a hard word to search for. The error message was: "FieldException: Attempt to create field name name which is reserved by entity type taxonomy_term. in field_create_field() (line 93 of /mysite.com/modules/field/field.crud.inc).

mwidner commented 9 years ago

Our first issue! How exciting. Thanks for pointing this out, Amanda. What did you change it to? I'm thinking "label" probably makes sense. If you'd like to send a pull request so that we properly credit your contribution, please feel free. Thanks!

amandavisconti commented 9 years ago

Excellent--just sent the request (I think label works well).

On Sun, Dec 7, 2014 at 11:15 PM, Michael Widner notifications@github.com wrote:

Our first issue! How exciting. Thanks for pointing this out, Amanda. What did you change it to? I'm thinking "label" probably makes sense. If you'd like to send a pull request so that we properly credit your contribution, please feel free. Thanks!

— Reply to this email directly or view it on GitHub https://github.com/LacunaStories/Drupal-Master/issues/5#issuecomment-65974267 .