[xdata] Allow FillableForm.write() ot overwrite already filled fields
This commit is contained in:
parent
8c57d34b97
commit
68edc8b9f5
|
@ -224,9 +224,6 @@ public class FillableForm extends FilledForm {
|
||||||
if (!getDataForm().hasField(fieldName)) {
|
if (!getDataForm().hasField(fieldName)) {
|
||||||
throw new IllegalArgumentException();
|
throw new IllegalArgumentException();
|
||||||
}
|
}
|
||||||
if (filledFields.containsKey(fieldName)) {
|
|
||||||
throw new IllegalArgumentException();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Perform validation, e.g. using XEP-0122.
|
// Perform validation, e.g. using XEP-0122.
|
||||||
// TODO: We could also perform list-* option validation, but this has to take xep122's <open/> into account.
|
// TODO: We could also perform list-* option validation, but this has to take xep122's <open/> into account.
|
||||||
|
|
Loading…
Reference in New Issue