Ticket #524 (new defect)

Opened 5 months ago

Last modified 6 days ago

When codegenning the system throws an error when you have a space in your columns

Reported by: matthiaz Owned by: somebody
Priority: minor Milestone: 2.0.3
Component: Other Version: 1.1.1 Stable
Keywords: Cc:

Description

Unknowingly, I added a column to my table but it started with a space. For example " businessname" in stead of "businessname".

When running the codegen engine. The system gave me the following error:

Table does not exist or does not have a defined Primary Key: owner

Where "owner" is the table name where the error occured. I know bassilieu had the same problem over a year back when he entered dashes in the column name. I haven't followed up on the status of the problem then. I don't know if it's a good idea to support column names with spaces (probably not) but a friendly error message would be nice. Or a convert(read trim) could be a solution here?

Change History

Changed 4 months ago by alex94040

  • priority changed from important to minor
  • milestone changed from 2.0.0 to 2.1

We should throw a friendly error message as a part of the codegen. Not a high pri.

Changed 6 days ago by VexedPanda

  • milestone changed from 2.0.2 Stable to 2.0.3
Note: See TracTickets for help on using tickets.