Skip to main content

Bug Fixes & Resolutions Changelog (Month-Wise)

lynx-anchor ​
lynx-anchor ​

This document maintains a chronological, month-wise record of all bug fixes, stability patches, concurrency resolutions, and security fixesimplemented across the Famalth Lynx ERP & POS Suite.


Table of Contents​

  1. November 2026
  2. October 2026

November 2026​

HRMS, Attendance & Payroll Fixes​

  • HRMS Staff Count, Leave Split & Punch Pagination (35dd132): Fixed inaccurate active staff counts on the HRMS overview, resolved leave split calculations across date boundaries, and added proper pagination to attendance punch logs.
  • Non-Null Punch Time Assignment (db0a5ef): Fixed null-pointer exception when editing attendance records without an explicit punch-out timestamp in the attendance dialog.
  • Heatmap Mobile Attendance & Leave Approvals (0e31208): Resolved calendar heatmap color mismatch on mobile, fixed inclusive leave day calculation, and added auto-reversal of absent markers upon valid check-in.
  • Geofence Latitude, Numeric Parsing & Dialog Overflow (aa65bcf, c2a3dea, 7178737): Fixed latitude parameter mismatch in mobile punch APIs, prevented simultaneous check-in/check-out race conditions, cleaned dummy punch rows, and fixed dialog row overflow on small screens.
  • Employee Auth Parameter Alignment (df43823): Aligned employee login request parameters (login, username, email) and multi-account matching across web and mobile.
  • Timezone Skew in OTP Expiry (09dbffc): Fixed OTP expiration failures caused by client/server timezone differences by migrating expiry comparisons to TIMESTAMPTZ in PostgreSQL.
  • Payroll DataTable AssertionError Guard (2052c89): Guarded DataTable cell and column counts in payroll_screen.dart to prevent Flutter framework AssertionError crashes on empty or filtered runs.
  • Employee Forgot-Password Payload & Security (af77a85, 75241aa): Fixed payload mismatch in forgot-password requests and removed OTP exposure from API responses, requiring manual entry from email.

POS Billing, Inventory & Reports Fixes​

  • Duplicate Bill Number Concurrency Resolution (6129eb4, 274b4fa): Eliminated race conditions in numberingSettingsV2.controller.ts using transactional row locking (allocateNextNumber) and date-filtered sequence checks so simultaneous POS and mobile checkouts never generate duplicate invoice numbers.
  • Customer Credit on Order Cancel (4d3577b): Fixed customer credit balance not being restored/reconciled properly when a credit-billed order is cancelled or voided.
  • Sales Report 0% Tax & Matrix Calculation (d630f99, 8460b7a, 4c22331, aaeb0a9): Resolved 0% tax row omissions and matrix aggregation rounding discrepancies in sales_report_screen.dart and salesReport.controller.ts.
  • License Validation Resolution (d563359): Fixed false-negative offline/cloud license validation errors during terminal startup.
  • Finance Subscription Adjustment (89237f3): Fixed recurring subscription fee calculation adjustments in the finance ledger.
  • Duplicate Closing Statement Syntax Error (0712ab6, 3d8f192): Removed duplicate closing braces/statements that caused TypeScript compilation errors.

Cloud Migration, Backups & Security Fixes​

  • Preservation of Linked Outlets on Migration (164366b): Fixed server_config losing linked branch outlet references during bi-directional store migration.
  • Dynamic Schema Foreign Key & User ID Remapping (ac8e36a, a445f4b): Dynamically resolved schema foreign keys, excluded platform master tables, remapped user_id and created_by references, and protected audit_logs constraints during cloud imports.
  • String Decimal Coercion & Timestamp Safeguards (6c2c39e, 37f46b6): Coerced string-formatted decimals (e.g. "10.00") to integers for integer target columns and populated created_at / updated_at defaults on outlet inserts.
  • Active/Inactive User Session Enforcement (205b6d6): Added live is_active checks in auth.middleware.ts so deactivated staff accounts are immediately blocked on their next API call.
  • Server Config Lock During Active Login (8e2ef28): Added SessionGuard.hasActiveLoginSession() to prevent changing the backend server URL while a user is actively logged in.

Clinic, Dining & Reservations Fixes​

  • Clinic UI, Slots & Reservation Release (35dd132): Fixed clinic appointment time-slot availability rendering, improved OPD UI responsiveness, and fixed table reservation release status transitions.
  • General Stability & UI Bug Fixes (88562fc, 05f8c20, 03e977b, a439f12, 5099ed2, 94f282f, 4603f32, 2c18146): Resolved minor UI overflow issues, state refresh glitches, and controller edge cases across POS, inventory, and companion portals.

CI/CD, Build & Deployment Fixes​

  • Obsolete --web-renderer Flag Removal (2a6a2ed): Removed the deprecated --web-renderer flag in .github/workflows/auto_deploy.yml and Dockerfiles for Flutter 3.x compatibility.
  • CirrusCI Image Replacement (a54dd71, d6501bb): Replaced the discontinued CirrusCI Flutter Docker image with Ubuntu + official Flutter SDK in GitHub Actions.

October 2026​

Licensing, Maintenance Lockout & Schema Fixes​

  • Database Migration v127 & TS/JS Sync (7ade851, 868d98e): Synchronized TypeScript and JavaScript controller/model logic and added migration v127 to resolve missing schema columns and table discrepancies.
  • Non-Dismissible Maintenance Lockout Dialog (eba057c, f398a40, ffff079, 5cb7a1e, aa58642): Fixed edge cases where users could dismiss or bypass the maintenance mode lockout modal during active system maintenance.
  • License Sync & Email Notifications (9b3dd0b, b478800, 272a776): Resolved license synchronization mismatches between client POS terminals and the Enterprise Control Plane, and fixed license expiry email triggers.
  • Environment Security (b6103cf): Added backend/client.example.json and excluded sensitive local client configs from git tracking.