Skip to content

Claim page generation not working #311

Description

@magent-cryptograss

Description

The claim page generation functionality in generateSetStonePages() is not creating the expected HTML files for ticket stub claiming.

Failing Tests

Temporarily skipped 4 tests in __tests__/claim_page_generation_test.js:

  • generates claim pages for multiple shows with different token ranges
  • claim pages contain correct show information
  • claim pages include contract integration code
  • each token ID gets unique claim page with correct context

Expected Behavior

When generateSetStonePages() is called with shows that have ticket stubs, it should generate individual claim pages at paths like:

  • /blox-office/ticketstubs/claim/101.html
  • /blox-office/ticketstubs/claim/102.html
  • etc.

Actual Behavior

The claim pages are not being generated. Tests fail with ENOENT: no such file or directory when trying to verify the files exist.

Context

This is a pre-existing issue discovered during production deployment preparation. The ticket stub system was merged from the prague2025 branch, but the claim page generation appears incomplete or broken.

Impact

Blocking production deployments via Jenkins CI/CD pipeline.

Next Steps

  1. Investigate why generateSetStonePages() isn't creating claim page files
  2. Implement claim page generation or fix the existing implementation
  3. Re-enable the skipped tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions