Test-More / Test-More/Test2-Harness-UI

`yath ui ...` main page does not provide uuid, breaking ajax

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

yath ui path/to/log to start a single-run instance

Click on things that bring up ajax, such as DBI profiling data, or file coverage data, these fail to load.

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR:  invalid input syntax for type uuid: "undefined" at /home/exodist/perl5/perlbrew/perls/main/lib/site_perl/5.30.2/Test2/Harness/UI/Controller/Job.pm line 34

Clearly something is not putting the job id where the js can get at it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the yath ui path/to/log single-run entry point and Test2::Harness::UI::Controller::Job.pm line 34, then trace how the main page exposes the job id to JavaScript. Reproduce the DBI profiling or file coverage AJAX failure and verify that both requests load without an undefined UUID.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, perl
Domain
backend, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.