DocType Creation and Naming

I just updated frappe/erpnext and all of a sudden I cannot create new DocTypes with spaces in the name,. A huge number of the doctypes contain spaces in the names, so I don’t know why this is a problem.

Is this a new change or a bug with my system?

@Ben_Cornwell_Mott, sounds that do you have a number or a space as beggining of the name.

No, there is no number or space at the start. If I change the name to use underscores instead of spaces it works.

NOTE: This is not for custom doctypes, but for doctypes in developer mode.

I can replicate it, will push a fix asap.