Steps to replicate the issue (include links if applicable):
- Manually edit a wish and remove any value that was present for the "type" field
- Save
What happens?:
You see "Type of wish: ⧼-label⧽"
What should have happened instead?:
- It should show an error if you are on preview mode
- If the wish is saved, it should default to unknown and put the wish in Category:Pages with Community Wishlist errors
Derived Requirement
Ensure that when a Wish page has an invalid or missing type field:
- During preview mode, an error message is displayed indicating that the type field is missing or invalid.
- When the page is saved, the wish automatically defaults its type to “unknown” and the page is placed under the Category:Pages with Community Wishlist errors for tracking. Additionally, the interface should never display broken i18n messages such as “⧼-label⧽” in place of the wish type.
Test Steps
Test Case 1: Verify preview behavior for missing wish type
- Open an existing Wish page in edit mode.
- Remove the value for the “type” field.
- Click Show preview.
- ✅❓❌⬜ AC1: Confirm that an error message is displayed indicating that the type field is missing or invalid.
Test Case 2: Verify that invalid i18n label is not shown
- In preview mode, inspect the “Type of wish” field.
- ✅❓❌⬜ AC2: Confirm that “⧼-label⧽” or other broken i18n placeholders do not appear on the page.
Test Case 3: Verify save behavior for missing wish type
- Save the page after removing the “type” field value.
- ✅❓❌⬜ AC3: Confirm that the wish is automatically assigned a default type = “unknown” after saving.
Test Case 4: Verify category assignment for error tracking
- After saving the wish with no type, scroll to the bottom of the page.
- ✅❓❌⬜ AC4: Confirm that the page is categorized under Category:Pages with Community Wishlist errors.
Test Case 5: Verify behavior for restoring a valid type
- Edit the same wish again and reassign a valid “type” (e.g., “Technical”).
- Save the page.
- ✅❓❌⬜ AC5: Confirm that the valid type is displayed correctly and the page is no longer listed under the error category.
QA Results - Meta Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T406279#11338099 |
| 2 | ✅ | T406279#11338099 |
| 3 | ✅ | T406279#11338099 |
| 4 | ✅ | T406279#11338099 |
| 5 | ✅ | T406279#11338099 |


