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> |
||
|---|---|---|
| .. | ||
| Deployment | ||
| Preview | ||
| Advanced.php | ||
| Configuration.php | ||
| DeploymentNavbar.php | ||
| General.php | ||
| Heading.php | ||
| Previews.php | ||
| PreviewsCompose.php | ||
| Rollback.php | ||
| Source.php | ||
| Swarm.php | ||