assemblee-virtuelle / assemblee-virtuelle/Semantic-Bus
Erreur Composant Filter : usableData.filter is not a function
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 10
- Avg merge
- 8m
- Merged PRs (30d)
- 55
Description
Hello !
J'ai une erreur `message : usableData.filter is not a function` lorsque j'utilise le composant Filter. En regardant le code source, le problème se situe effectivement au niveau de la classe Filter, puisque c'est le seul endroit où il y a une variable nommée de cette manière.
Le filtre est défini de manière assez basique :
```json
{
"$and": [
{
"action": {
"$ne": "delete"
}
}
]
}
```
Une idée ?
J'ai un autre composant Filtre utilisé à un autre endroit et qui marche bien. Il avait été créé déjà il y a quelques mois, est-ce que ça peut changer quelque chose ?
@simonLouvet tu as normalement accès à ce workspace :
https://grappe.io/ihm/application.html#workspace/5c72c57abe173a0026f9b609/component
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the error in the linked workspace and inspect the Filter class around the usableData path, comparing it with the older working filter. Done means the supplied $and/$ne filter runs without the TypeError and the resulting filtered data is confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100