Summary
Investigate and fix the CGI::Application::Plugin::FormState regression in PerlOnJava.
Evidence
- Distribution:
CGI-Application-Plugin-FormState v0.12
- Archived CPAN run:
20260824-215523-35400
- Regression: PASS → FAIL compared with the previous recorded run.
- PerlOnJava result: 86/113 tests passed; 27 subtests failed in 5 of 10 test programs.
- System Perl result: the same upstream suite passed 113/113 tests across all 10 test programs.
The failures are concentrated in session restoration. Tests in t/01-basic.t,
t/02-expires.t, t/03-storage_name.t, t/20-old-style-basic.t, and
t/21-old-style-expires.t expect a previously initialized session and stored
form values, but receive undef. Loading, deletion, auto-configuration, and
POD tests pass.
Investigation scope
- Reproduce the failing tests with both PerlOnJava backends and capture the
exact CGI/session dependency load order.
- Compare session identifiers, cookies, serialization, and storage contents
between the first and second simulated webapp requests.
- Check for regressions in
CGI::Session, CGI::Application::Plugin::Session,
filesystem storage, child-process state, or PerlOnJava request lifecycle.
- Reduce the cause to a focused PerlOnJava regression test, validated under
system Perl first.
- Restore the full unmodified upstream suite and verify both backends.
Summary
Investigate and fix the
CGI::Application::Plugin::FormStateregression in PerlOnJava.Evidence
CGI-Application-Plugin-FormStatev0.1220260824-215523-35400The failures are concentrated in session restoration. Tests in
t/01-basic.t,t/02-expires.t,t/03-storage_name.t,t/20-old-style-basic.t, andt/21-old-style-expires.texpect a previously initialized session and storedform values, but receive
undef. Loading, deletion, auto-configuration, andPOD tests pass.
Investigation scope
exact CGI/session dependency load order.
between the first and second simulated webapp requests.
CGI::Session,CGI::Application::Plugin::Session,filesystem storage, child-process state, or PerlOnJava request lifecycle.
system Perl first.