You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataSourceScriptDatabaseInitializer may still try to access the database even though its initialization mode is never #28931
I am looking at this issue and I am not able to reproduce the problem in a unit test. I can see the isEnabled check inconsistency with AbstractDataSourceInitializer but I fail to see where the DataSource would be accessed to resolve the scripts. AbstractScriptDatabaseInitializer does not have @@platform@@ support as far as I can see...
I can move the check to make it more consistent but I'd like someone else to have a look in case I missed something.
changed the title [-]AbstractScriptDatabaseInitializer may still try to access the database even though its initialization mode is never[/-]on Dec 14, 2021
I think 2.5.x is fine and the regression is in 2.6.x where we use DataSourceScriptDatabaseInitializer and its settings are computed upfront. I'll edit the title of the issue accordingly.
Activity
snicoll commentedon Dec 13, 2021
I am looking at this issue and I am not able to reproduce the problem in a unit test. I can see the
isEnabledcheck inconsistency withAbstractDataSourceInitializerbut I fail to see where theDataSourcewould be accessed to resolve the scripts.AbstractScriptDatabaseInitializerdoes not have@@platform@@support as far as I can see...I can move the check to make it more consistent but I'd like someone else to have a look in case I missed something.
[-]AbstractScriptDatabaseInitializer may still try to access the database even though its initialization mode is never[/-]snicoll commentedon Dec 14, 2021
I think 2.5.x is fine and the regression is in 2.6.x where we use
DataSourceScriptDatabaseInitializerand its settings are computed upfront. I'll edit the title of the issue accordingly.