Skip to content

DataSourceScriptDatabaseInitializer may still try to access the database even though its initialization mode is never #28931

Closed

Description

@wilkinsona
No description provided.

Activity

  1. added this to the 2.5.x milestone on Dec 8, 2021
  2. snicoll commented on Dec 13, 2021

    @snicoll
    Member

    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.

  3. self-assigned this
    on Dec 13, 2021
  4. added
    for: team-attentionAn issue we'd like other members of the team to review
    and removed
    for: team-attentionAn issue we'd like other members of the team to review
    on Dec 13, 2021
  5. modified the milestones: 2.5.x, 2.6.2 on Dec 14, 2021
  6. changed the title [-]AbstractScriptDatabaseInitializer may still try to access the database even though its initialization mode is never[/-] on Dec 14, 2021
  7. snicoll commented on Dec 14, 2021

    @snicoll
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions