5sControl / 5sControl/5s-frontend

Incorrect responses to uploaded files

Offen
#878 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Ivan0195 Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

ОС: macOS
Браузер: Google Chrome

Precondition:
Go to http://192.168.1.120:85/auth/login
Log in to the system
Create a new "Asset Class"
Create "Asset"

Description:
When adding a new "Notes" TaqChat does not respond to the new loaded "Notes". It responds incorrectly or responds that it has no information

Steps:
1. Go to "Templates"
2. Create a new "Template"
3. Link to the desired "Asset Class"
4. Go to the "Connect" tab
5. Select "TaqChat"
6. Send a message with the text "#templateid=6284 The air conditioning is not working well, what could this be related to?"
7. Send a message with the text "The remote control shows error message E101. Do you know what this error means?"
8. Go to the "Templates" tab
9. Load additional "Notes"
10. Return to "TaqChat"
11. Send a message with the text "The remote control shows error message E101. Do you know what this error means?"
12. Send a message with the text "I got error F202. Do you know what this error code is?"

Expected result:
Answers should be constructive and structured. If there is no information to the question, then answer that additional files need to be downloaded or the information is missing.

Actual result:
Responds incorrectly even with compatible files

Request 1
Request 2
Request 3
Request 4
Text 1
Text 2

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue involves the TaqChat component's handling of uploaded 'Notes' files. Look for the chat interface and file upload logic in the frontend codebase, likely under components related to 'Templates' and 'Connect'. Check how the frontend sends messages and if it properly includes the template ID and references newly uploaded files. The actual result shows incorrect responses, so inspect the API calls and state management for file associations.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.