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.

Comments

brenk28’s picture

Title: Using a space in human and henceforth a _ in the machine name crashes the website » Using a name longer than 21 characters results in a sql error
StatusFileSize
new979 bytes

I 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.

tirdadc’s picture

Assigned: Unassigned » tirdadc
Status: Active » Fixed

Committed, thanks Bill!

Status: Fixed » Closed (fixed)

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