plugin misc lists: templates:
Templates are a way to create lists with pre-filled schemas.
This commit is contained in:
parent
8aebf00194
commit
bdf4759d21
1 changed files with 278 additions and 4 deletions
|
|
@ -321,6 +321,10 @@ class PubsubSchema(object):
|
|||
for x_elt in item_elt.elements((data_form.NS_X_DATA, "x")):
|
||||
form = data_form.Form.fromElement(x_elt)
|
||||
if form_ns and form.formNamespace != form_ns:
|
||||
log.debug(
|
||||
f"form's namespace ({form.formNamespace!r}) differs from expected"
|
||||
f"{form_ns!r}"
|
||||
)
|
||||
continue
|
||||
prepend = [
|
||||
("label", "id"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue