It's my first time trying to deal with JTable and multiple primary keys, Can anyone shed some lite on this error message?
Table has multiple primary keys specified, only one primary key value provided.
The table does have multiple primary keys, the multiple keys are specified in the JTable class for this table in the __construct override.
I have looked through my code for where primary key values are provided, but I can't seem to identify what function is having the fit and throwing the exception.
I believe this error is triggered by and exception in the JTable parent load function.
Controller extends JControllerForm
and overrides the __construct() function
model extends JModelAdmin
and overrides getTable() and getForm () functions
Table extends JTable
and overrides __construct(), (where it adds the multiple primary keys array)
and bind() functions
view extends JViewLegacy
and overrides display(), addToolbar()
So I'm a little lost on what I have that is still only calling the single primary key id integer (maybe an in the list view that calls the edit view?)
(Side note: it's a client's requirement to use existing tables with multiple primary keys, no option to restructure)