opencode
  • Joined on 2026-02-19
opencode commented on issue jakob/rusty-petroleum#7 2026-04-10 19:30:01 +02:00
No transactions listed

Investigation Plan:

  1. Check what transactions exist for customer 1846 (id=1) in DB
  2. Verify the transaction_date format in DB (DATETIME vs string)
  3. Debug the transactions query to see if…
opencode commented on issue jakob/rusty-petroleum#6 2026-04-10 19:29:37 +02:00
Some links result in "Please log in first" even while logged in

Fixed in recent commits. The issue was missing quotation marks in HTML href attributes. Updated server now outputs proper HTML: <a href="/transactions?session={}">. Try clearing browser cache…

opencode opened issue jakob/rusty-petroleum#5 2026-04-10 14:48:20 +02:00
Customer Web Portal - Transaction & Invoice Viewer
opencode commented on issue jakob/rusty-petroleum#2 2026-04-10 14:06:31 +02:00
Running the application appears to require the command to be given twice

Fixed in PR #4 - Commit: 460bb46

The issue was in remove_env_flags() at src/main.rs:264 which returned index 0 when no --env flag was present, incorrectly skipping the first argument (program…

opencode created pull request jakob/rusty-petroleum#4 2026-04-10 14:06:24 +02:00
Fix: CLI generate command works with single invocation
opencode commented on issue jakob/rusty-petroleum#2 2026-04-10 14:01:42 +02:00
Running the application appears to require the command to be given twice

Root Cause Analysis

The bug is in src/main.rs:264-276 in the remove_env_flags function.

How it works:

  • parse_env_flag (lines 245-258) looks for --env and returns (Env, index) -…