I have an application that I have stored in git. T...
# lucee
g
I have an application that I have stored in git. The application without any local modifications - runs on my windows workstation without issue. Using the same git repo on a Fedora Server - without any modifications - sees the application fail to start successfully - with it complaining that a certain ORM entity does not exist. (other CFCs ARE loaded correctly the error message is something like Entity XXX does not exist - these other ones do... and it lists the CFCs that were successfully created) When I have seen this error before - it means that I have an error in the ORM CFC code and it has failed to compile... and thus correcting the bug in my CFC - sees the ORM entity successfully parsed/created. But the CFC does NOT have any errors - and the exact same code runs locally without issue. Can anyone think of anything else I should be checking? Or a better troubleshooting method?
p
Likely need a mapping to where your models/orm stuff is located. Any specific error to share?
g
Hi Patrick I just added in an extra bit above.... But other CFCs in the same "models" directory are being created successfully.
entity [IncidentResponseTimeframe] does not exist, existing entities are [Country, EmergencyContact, ...
p
Yea these can be wild goose chase sometimes, but sometimes I have had to break down the culprit model(s) removing property by property and reinit’ing to determine the discrepancy…might not be ideal or best approach but I havent had this issue for years.
👍🏼 1
p
Please make sure that Application.cfc name casing.. Also for the other files too
☝️ 1
g
OK - thanks - I have it sorted - thanks. Turns out it is a coldbox-related issue. (I think) I'll head over to the box channel and continue - there - thanks.