[ https://issues.apache.org/jira/browse/SOLR-9411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl updated SOLR-9411: ------------------------------ Attachment: SOLR-9411.patch Updated patch. Fixes {{SchemaTest}} which attempted to create dynamic fields with required=true and defaultValue. This succeeded earlier due to this same bug > Better validation for Schema API > -------------------------------- > > Key: SOLR-9411 > URL: https://issues.apache.org/jira/browse/SOLR-9411 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: Schema and Analysis > Reporter: Jan Høydahl > Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9411.patch, SOLR-9411.patch > > > Schema REST API needs better validation before doing changes. > * It should not be allowed to delete uniqueKey (also handled in SOLR-9349) > * When adding a dynamic field the API should test that it begins or ends with > {{*}}. Today the change succeeds, but you get errors later > These are two known cases. We should harden validation across the board for > all known schema requirements. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org