Hi All,
Centos 6, CF11, FC7.2.4, Mysql
I’m getting the below error when indexing content with the farcrysolrpro plugin. I’ve just tested it with 7.0.8 and that works fine without throwing the error.
Any suggestions before I start delving deeper?
I added a list compare to the diff function but no object ids are
available. This will break other getListData functions where objectid is
required. I’ll wrap that part in a try catch this evening.
I wasn’t thinking of core code - I was thinking of custom end-user functions where they have put the objectid as required. Currently the request will just crash with the code as it is now - e.g. in draft overview. Wrapping in try/catch is probably better than passing in a dummy id
What I mean is, for this scenario the method signature MUST have objectid be required=“false” and not required=“true”. That’s why the plugin got fixed, it had the wrong method signature. Core doesn’t need to be patched, your changes were fine