DBI: DBD::Sponge cannot initialize under PerlOnJava
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
DBI->install_driver("Sponge") から開始し、DBD::Sponge::driver まで追跡します。DBD::Sponge::db が install_method をどのように継承または解決するかに注目してください。PerlOnJava の互換性レイヤーと pure-Perl のハンドル継承を比較し、その後、両方のバックエンドで t/01-connect.t と t/02-reconnect.t を実行します。PerlOnJava 上で upstream suite が成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
MooX::Role::DBIConnection 0.07 fails its connection tests under PerlOnJava because the bundled pure-Perl DBD::Sponge driver cannot initialize.
Reproduction
CPAN random tester run: 20260916-111623-23683
Affected upstream tests:
t/01-connect.tt/02-reconnect.t
Both fail on the JVM backend and the interpreter backend when the tests use the dbi:Sponge: DSN.
The failure is reported as:
Can't connect to data source '' because I can't work out what driver to use
The minimal driver initialization path is DBI->install_driver("Sponge"), which reaches DBD::Sponge->driver and fails because DBD::Sponge::db->install_method is unavailable.
Expected result
The upstream suite passes completely under system Perl: 3 test files and 6 tests successful.
Actual result
PerlOnJava fails 2 of 3 test programs; t/00-load.t passes. DBD::Sponge is bundled with PerlOnJava and can be loaded directly, so this is not a missing CPAN dependency or an external database prerequisite.
Suspected cause
The PerlOnJava DBI compatibility layer defines install_method on DBD::_::common, but the pure-Perl database-handle inheritance used by DBD::Sponge::db does not expose that method through its DBD::_::db base. Align the pure-Perl DBI handle inheritance or otherwise provide the upstream-compatible method dispatch.
This affects both execution backends and should have focused regression coverage for connecting through dbi:Sponge: and reconnecting.
- 主要言語
- Perl
- スター
- 64
- フォーク
- 7
- 平均マージ
- 4時間 27分
- マージ済み PR(30日)
- 178
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fglock/PerlOnJava のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fglock/PerlOnJava#1651 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#1579 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:unicode bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
fglock/PerlOnJava#1341 ·
メンテナーはふだん 1 日以内に返信
-
area:backend area:cpan-port area:parser bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
fglock/PerlOnJava#1659 ·
メンテナーはふだん 1 日以内に返信
-
Alien::Build archive extraction fails for Ninja and Meson対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
fglock/PerlOnJava#1657 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
fglock/PerlOnJava の issue をすべて見る
似ている issue
-
Add IO::Pipe classオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
yuki-kimoto/SPVM-IO#30 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
convos-chat/convos#977 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
inverse-inc/packetfence#9387 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
linux-test-project/lcov#552 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
szTheory/exifcleaner#383 ·
メンテナーはふだん 1 日以内に返信