You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Server accepts a tag recognizer without supportedLanguage, which auto-classification then silently skips #37516
The server accepts a tag recognizer whose recognizerConfig has no supportedLanguage, for example a pattern recognizer edited so the language is cleared. The ingestion client cannot parse that tag: its generated PatternRecognizer model requires supportedLanguage and has no default. On 2.0.x, auto-classification logs Failed to fetch tags for classification <name>: N validation errors for Tag. It then loads no tag from that classification, and every column reports No new tags to analyze ... (all 0 candidates already applied). Since #34973, main skips only the unparseable tag. Either way the run ends in success, so the tag is never applied and nobody is told.
The server stores recognizerConfig as an untyped object and does not check what is inside it.
To Reproduce
Create a tag with a pattern recognizer.
PATCH remove /recognizers/0/recognizerConfig/supportedLanguage. The server returns 200.
Run an auto-classification pipeline. The tag is never applied (on 2.0.x, no tag in that classification is).
Expected behavior
The server rejects a recognizer that the ingestion client cannot parse (400 naming the recognizer).
Activity
Fixes open-metadata#37516: Reject tag recognizers saved without a sup…
Fixes #37516: Reject tag recognizers saved without a supported langua…