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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user