Check preside-objects filenames for bad characters

Description

I created a preside object with the name `my-object`. This works fine until you do some stuff like `InsertData()`. The `-` character in the name is a problem for the sql queries. Also spaces in filenames are a problem (but possible).

Renaming everything to `my_object` made `InsertData()` work.

There should be a mechanism, that is checking the filenames for bad characters

Activity

Show:
Manikandan M
December 2, 2016, 2:01 PM

: I have created a PR for this ticket( https://github.com/pixl8/Preside-CMS/pull/213 )

Dominic Watson
March 17, 2017, 4:19 PM

Thanks guys. Looking good

Assignee

Dominic Watson

Reporter

Michael Hnat

Labels

None

Accepted

Yes

Fix versions

Priority

Low
Configure