Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validierungs-Ergebnis im Suchformular beachten #1549

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

christophboecker
Copy link
Contributor

Das Problem fiel mir bei einem Custom-Value auf. In einem einfachen Eingabefeld (text) sollten drei Begriffe (Breitengrad Längengrad Radius) für eine Umkreissuche eingegeben werden. Um das richtige Format sicherzustellen wurde auch ein Custom-Validator hinzugefügt. Der Validator macht seine Arbeit wie er soll. Aber die Query wurde dennoch (mit ungeeigneten Werten) gefüllt, was in einer Exception mündete.

Mit der hier eingebauten Abfrage nach Ausführen des Such-Formulars wird ohne Veränderung der Query abgebrochen. Somit werden Liste und Suchformular (nun mit Fehlermeldung) angezeigt.

grafik

Falls sonst noch wer auf das Problem stößt: ich helfe mir jetzt mit doppelter Fehleranalyse: mit dem Custom-Validator für das Formular und dasselbe zusätzlich in value_class::getSearchFilter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant