Bug Report: Reactive Component Attribute (language) Not Updating Main Title and Abstract Language in Dataset #5

Closed
opened 2024-02-02 10:52:09 +00:00 by kaiarn · 1 comment
Owner

Issue Description:
The reactive Vue3 component attribute, specifically language, currently exhibits unexpected behavior. While changes to this attribute successfully update the underlying language attribute of the form dataset, they fail to propagate to the main title and abstract language of the dataset. This behavior is inconsistent with the expected functionality, and the issue needs to be addressed to ensure proper synchronization.

Steps to Reproduce:

  • Create a Vue3 component with a reactive attribute language initialized as let language = ref('');.
  • Use this attribute to bind with the language attribute in the form dataset.
  • Observe that changes to the language attribute are reflected in the form dataset but not in the main title and abstract language of the dataset.

Expected Behavior:
Updating the reactive language attribute should automatically propagate changes to the underlying main title and abstract language of the dataset.

Actual Behavior:
Changes to the reactive language attribute only affect the language attribute in the form dataset, leaving the main title and abstract language unaffected.

Relevant Code Snippet:

let language = ref('');
// ... other code

Additional Information:

  • The issue pertains to maintaining consistency in the synchronization of the language attribute across different parts of the dataset.
  • Expected behavior is to have a unified language representation throughout the dataset when the reactive attribute is modified.

Environment:
Vue3

**Issue Description:** The reactive Vue3 component attribute, specifically language, currently exhibits unexpected behavior. While changes to this attribute successfully update the underlying language attribute of the form dataset, they fail to propagate to the main title and abstract language of the dataset. This behavior is inconsistent with the expected functionality, and the issue needs to be addressed to ensure proper synchronization. **Steps to Reproduce:** - [x] Create a Vue3 component with a reactive attribute language initialized as let language = ref('');. - [x] Use this attribute to bind with the language attribute in the form dataset. - [x] Observe that changes to the language attribute are reflected in the form dataset but not in the main title and abstract language of the dataset. **Expected Behavior:** Updating the reactive language attribute should automatically propagate changes to the underlying main title and abstract language of the dataset. **Actual Behavior:** Changes to the reactive language attribute only affect the language attribute in the form dataset, leaving the main title and abstract language unaffected. Relevant Code Snippet: ``` let language = ref(''); // ... other code ``` **Additional Information:** - The issue pertains to maintaining consistency in the synchronization of the language attribute across different parts of the dataset. - Expected behavior is to have a unified language representation throughout the dataset when the reactive attribute is modified. **Environment:** Vue3
kaiarn added this to the (deleted) project 2024-02-02 10:52:10 +00:00
kaiarn added the
bug
label 2024-02-02 10:52:26 +00:00
kaiarn self-assigned this 2024-02-02 10:52:42 +00:00
porfra was assigned by kaiarn 2024-02-02 10:52:42 +00:00
brutho was assigned by kaiarn 2024-02-02 12:48:44 +00:00
Author
Owner

@porfra @brutho :

The reported bug has been resolved. Changes to the reactive language attribute will now correctly propagate to both the underlying main title and abstract language of the dataset. The update ensures consistency in the synchronization of the language attribute across different parts of the dataset.

If you encounter any further issues or have additional feedback, please feel free to keep open the issue. Otherwise close it.

Thank you for your patience and collaboration!

@porfra @brutho : The reported bug has been resolved. Changes to the reactive language attribute will now correctly propagate to both the underlying main title and abstract language of the dataset. The update ensures consistency in the synchronization of the language attribute across different parts of the dataset. If you encounter any further issues or have additional feedback, please feel free to keep open the issue. Otherwise close it. Thank you for your patience and collaboration!
haivik was assigned by kaiarn 2024-02-02 12:49:15 +00:00
porfra added this to the Iteration 1: All "Bugs" are solved milestone 2024-07-17 14:06:22 +00:00
Sign in to join this conversation.
No project
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: geolba/tethys.backend#5
No description provided.