Fix: Handle missing 'color', 'isArchived' and 'value' fields in DTOs and mappers to prevent JsonDataException
This commit is contained in:
65
tasks/20251006_add_missing_string_resources.xml
Normal file
65
tasks/20251006_add_missing_string_resources.xml
Normal file
@@ -0,0 +1,65 @@
|
||||
<![CDATA[
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<WorkOrder>
|
||||
<WO_ID>20251006_add_missing_string_resources</WO_ID>
|
||||
<Originator>Architect</Originator>
|
||||
<Created>2025-10-06T06:05:22Z</Created>
|
||||
<Project>Homebox-Lens</Project>
|
||||
<Title>Add Missing String Resources to Resolve Build Failure</Title>
|
||||
<Description>
|
||||
The project build is currently failing due to multiple 'Unresolved reference' errors in `ItemEditScreen.kt` and `SettingsScreen.kt`. These errors are caused by missing string resources. To fix this, the specified string resources must be added to the `app/src/main/res/values/strings.xml` file.
|
||||
</Description>
|
||||
<Scope>
|
||||
<File>app/src/main/res/values/strings.xml</File>
|
||||
</Scope>
|
||||
<AcceptanceCriteria>
|
||||
- The project must compile successfully without any 'Unresolved reference' errors related to string resources.
|
||||
- All new strings must be added to `app/src/main/res/values/strings.xml`.
|
||||
- The new strings should have meaningful English values.
|
||||
</AcceptanceCriteria>
|
||||
<Constraints>
|
||||
- Changes should be limited to the `app/src/main/res/values/strings.xml` file. No other files should be modified unless absolutely necessary to resolve the primary issue.
|
||||
</Constraints>
|
||||
<Deliverables>
|
||||
<File>app/src/main/res/values/strings.xml</File>
|
||||
</Deliverables>
|
||||
<ImplementationDetails>
|
||||
<LinguisticContext>
|
||||
The new strings are for the item editing screen and settings screen. The text should be clear and concise.
|
||||
</LinguisticContext>
|
||||
<TechnicalContext>
|
||||
The following string resources are missing and must be added to `app/src/main/res/values/strings.xml`:
|
||||
- `item_edit_general_information`
|
||||
- `item_edit_location`
|
||||
- `item_edit_labels`
|
||||
- `item_edit_select_labels`
|
||||
- `dialog_ok`
|
||||
- `dialog_cancel`
|
||||
- `item_edit_purchase_information`
|
||||
- `item_edit_purchase_price`
|
||||
- `item_edit_purchase_from`
|
||||
- `item_edit_purchase_time`
|
||||
- `item_edit_select_date`
|
||||
- `item_edit_warranty_information`
|
||||
- `item_edit_lifetime_warranty`
|
||||
- `item_edit_warranty_details`
|
||||
- `item_edit_warranty_expires`
|
||||
- `item_edit_identification`
|
||||
- `item_edit_asset_id`
|
||||
- `item_edit_serial_number`
|
||||
- `item_edit_manufacturer`
|
||||
- `item_edit_model_number`
|
||||
- `item_edit_status_notes`
|
||||
- `item_edit_archived`
|
||||
- `item_edit_insured`
|
||||
- `item_edit_notes`
|
||||
- `item_edit_sold_information`
|
||||
- `item_edit_sold_price`
|
||||
- `item_edit_sold_to`
|
||||
- `item_edit_sold_notes`
|
||||
- `item_edit_sold_time`
|
||||
- `screen_title_settings`
|
||||
</TechnicalContext>
|
||||
</ImplementationDetails>
|
||||
</WorkOrder>
|
||||
]]>
|
||||
Reference in New Issue
Block a user