Closed (fixed)
Project:
Entity Box Types
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 May 2012 at 15:12 UTC
Updated:
18 Jul 2013 at 13:51 UTC
Jump to comment: Most recent file
I tried to create a custom type for boxes to hold images for the Flexslider and called the entity bundle Flexslider_mega but it would just crash the website. On the other hand if I name it without the space such as 'megafles' it works as expected.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | entity-boxes-machine-name-maxlength-1574522-1.patch | 979 bytes | brenk28 |
Comments
Comment #1
brenk28 commentedI updated the title of the issue as it was a bit of a red herring. The issue is not with the underscore/space but with the length. The max length of the machine name *should* be 32 characters, but boxes is adding 'boxes_add__' so it reduces the max length that can be used here to 21. Attaching a patch that sets the maxlength to 21. Need to dig more into the 'boxes_add__', but this will at least prevent the sql error.
Comment #2
tirdadc commentedCommitted, thanks Bill!