Update VFP integration with improved error handling and settings management

- Add output/ directory to .gitignore to exclude generated JSON files
- Fix ApplicationSetup.prg parameter handling with LPARAMETERS and proper validation
- Update gomag-adapter.prg to use global settings object and clean old JSON files
- Enhance sync-comenzi-web.prg with Oracle integration improvements
- Add Visual FoxPro project files (roawebcomenzi.PJT/.pjx)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-11 17:01:00 +03:00
parent d1858f86b6
commit 5d43509987
8 changed files with 135 additions and 1368 deletions

View File

@@ -119,14 +119,14 @@ DEFINE CLASS ApplicationSetup AS Custom
*-- Functie pentru validarea setarilor obligatorii
PROCEDURE ValidateSettings
PARAMETERS toSettings
LPARAMETERS toSettings
LOCAL llValid, lcErrors
IF ISNULL(toSettings)
IF PCOUNT() = 0
toSettings = THIS.oSettings
ENDIF
IF ISNULL(toSettings)
IF TYPE('toSettings') <> 'O' OR ISNULL(toSettings)
RETURN .F.
ENDIF
@@ -202,14 +202,14 @@ DEFINE CLASS ApplicationSetup AS Custom
*-- Functie pentru afisarea informatiilor despre configuratie
PROCEDURE DisplaySettingsInfo
PARAMETERS toSettings
LPARAMETERS toSettings
LOCAL lcInfo
IF ISNULL(toSettings)
IF PCOUNT() = 0
toSettings = THIS.oSettings
ENDIF
IF ISNULL(toSettings)
IF TYPE('toSettings') <> 'O' OR ISNULL(toSettings)
RETURN .F.
ENDIF