[SOLVE] Problem with multiple uppercase in plugin model name with debugkit and cakephp 2.9.9


#1

Hello this is my fault. :sweat_smile:

I forgot to check the plugin in a debugKit panel.

hello i have a probleme with cakephp 2.9.9
i have many model with uppercase in name
ex: DccAdjustment.php ( the model have var $useTable = false;)
in the app/Model folder it’s work.

when i put my model in a plugin folder
app/Plugin/Adjustment/Model

when i go to my plugin index page, i have an error:
Error: Table dcc_adjustments for model DccAdjustment was not found in datasource default.

indent preformatted text by 4 spaces

CORE/Cake/View/Helper/FormHelper.php line 479 → FormHelper->_introspectModel(string, string)
FormHelper->create(string, array)

why cake create a virtual model :’(.

if i create my model without uppercase it’s ok.

help me please i have many many model.