Added JavaScript to convert YYYY-MM-DD dates to DD.MM.YYYY format when prepopulating date fields. This is a partial fix for the date field issues - full fix requires Formidable Forms configuration. Also updated ISSUES.md with detailed documentation of all three date field problems: initial format, picker display, and post-selection format. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
74 lines
2.9 KiB
Markdown
74 lines
2.9 KiB
Markdown
# Known Issues
|
|
|
|
## Logo Upload Placement (Discovered during 07-01 testing)
|
|
|
|
**Issue:** The logo upload field is on the job submission form, but it should be on the provider profile.
|
|
|
|
**Current Behavior:**
|
|
- Job submission form (F2) has a "Logo" field
|
|
- Logo is stored per job as `job_logo` ACF field
|
|
- Each job can have its own logo
|
|
|
|
**Expected Behavior:**
|
|
- Registration form (F1) should have a "Firmenlogo" field
|
|
- Logo stored as user meta: `ddhh_company_logo`
|
|
- One company logo used for all job postings from that provider
|
|
- Job detail pages display the provider's company logo
|
|
|
|
**Impact:** Medium - UX confusion, not aligned with business requirements
|
|
**Priority:** Medium
|
|
**Phase Discovered:** 07-01 (Provider flow testing)
|
|
|
|
**Fix Required:**
|
|
1. Add company logo field to registration form (F1)
|
|
2. Store as user meta with image upload/crop functionality
|
|
3. Remove logo field from job submission form (F2)
|
|
4. Update job edit form (F3) to remove logo field
|
|
5. Modify job detail template to display provider's company logo instead
|
|
6. Add logo display to provider dashboard (show their uploaded logo)
|
|
|
|
## Date Field Format and Pre-population Issues (Discovered during 07-01 testing)
|
|
|
|
**Issue:** The deadline date field has multiple formatting and pre-population problems
|
|
|
|
**Current Behavior:**
|
|
1. **Initial display**: Shows as "2026-01-31" (YYYY-MM-DD) instead of German format
|
|
2. **Date picker bug**: Shows wrong date (current date instead of saved value)
|
|
- Saved: 2026-01-31
|
|
- Picker shows: 2026-01-17 (today)
|
|
3. **Post-selection format**: Changes to "13/02/2026" (DD/MM/YYYY with slashes)
|
|
|
|
**Expected Behavior:**
|
|
- Date should always display as "31.01.2026" (DD.MM.YYYY with dots)
|
|
- Date picker should show the saved date, not current date
|
|
- Format should remain consistent before and after selection
|
|
|
|
**Location:**
|
|
- Provider Dashboard edit form (`/anbieter-dashboard/?action=edit_job&job_id=XXX`)
|
|
- Specifically the "Bewerbungsfrist" (deadline) field
|
|
|
|
**Impact:** Medium - Confusing UX, users might select wrong dates
|
|
**Priority:** Medium
|
|
**Phase Discovered:** 07-01 (Provider flow testing)
|
|
|
|
**Root Cause:**
|
|
This is a Formidable Forms date field configuration issue, not a plugin code issue.
|
|
|
|
**Fix Required:**
|
|
1. Access Formidable Forms field settings for "job_deadline2" field
|
|
2. Set date format to: `d.m.Y` (PHP date format for DD.MM.YYYY)
|
|
3. Configure datepicker options to use dots instead of slashes
|
|
4. Ensure the JavaScript prepopulation correctly parses the saved YYYY-MM-DD value
|
|
5. May need custom JavaScript to convert saved value to picker-friendly format
|
|
6. Test thoroughly: initial load, picker display, post-selection format
|
|
|
|
## Empty "Art der Stelle" Dropdown (Fixed during 07-01 testing)
|
|
|
|
**Issue:** The "Art der Stelle" dropdown was empty on job submission form
|
|
|
|
**Cause:** Form created before field options were configured properly
|
|
|
|
**Resolution:** Fixed by updating field options directly: Vollzeit, Teilzeit, Ehrenamt
|
|
|
|
**Status:** ✅ FIXED (2026-01-14)
|