Closed huifeidepangzi closed 3 years ago
All of these looks great to me, Yi. My only worry would be whether these changes are backwards compatible or not. Can we do a run through some of the release versions and make sure the plugin still works? Seems like we're making things work on the latests OJS version but I'm not convinced this would work for previous versions?
Hi Joao, thanks for the review. Yes it won't compatible with the old OJS env, the main reason for this is that the OJS earlier than 3.2 won't support getInstallMigration
(don't have this function definition in the base class), whereas the OJS later than 3.3 won't support getInstallSchemaFile
(they add final keyword for this function so we can not leave the function definition in the class anymore).
So are we happy to drop support for these previous versions?
So are we happy to drop support for these previous versions?
We won't drop the supported of previous version, we still have them, we add a new release to support the new OJS version
But the new version only supports 3.3 or later, right?
But the new version only supports 3.3 or later, right?
yes, the code can not be compatible for earlier OJS version because of the way OJS change their code
Test