Ticket #128 (new defect)

Opened 2 months ago

Foreign Relationships don't check for reserved words

Reported by: james.kilbride@gd-ais.com Assigned to: pmjones
Priority: major Component: code
Keywords: sql model Solar_Sql_Model Cc:

Description

When adding relationships to models, such as belongsTo or hasMany, the name of that relationship is not checked for usage of solar's reserved words. This means that the user could enter a reserved word into the relationship name not knowing that it will be used in the actual queries at the database level. These should be checked by Solar, just like column and table names are, and an error thrown if the relationship name is one of the reserved words.

Attachments


Add/Change #128 (Foreign Relationships don't check for reserved words)