Move compose file validation BEFORE database save to prevent invalid base directory and docker compose location values from being persisted when validation fails. Changes: - Move compose file validation before $this->application->save() - Restore original values when validation fails - Add resetErrorBag() to clear stale validation errors This fixes two bugs: 1. Invalid paths were saved to DB even when validation failed 2. Error messages persisted after correcting to valid path 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Application | ||
| Database | ||
| New | ||
| Resource | ||
| Service | ||
| Shared | ||
| AddEmpty.php | ||
| CloneMe.php | ||
| DeleteEnvironment.php | ||
| DeleteProject.php | ||
| Edit.php | ||
| EnvironmentEdit.php | ||
| Index.php | ||
| Show.php | ||