Adding model.listLike creates error when trying to download the ODD
Opened this issue · 1 comments
I'm currently in the process of modifying TEI so as to make it compatible to a small project I'm working on. I created a new element, ListParty, and copied the attributes that are part of similar elements, such as ListPerson. Up to that point, everything is going fine and I can save the ODD. However, after adding the model class model.listLike, I get the following error when trying to download the ODD:
"Uncaught TypeError: Cannot read properties of undefined (reading 'classes')"
Is this a bug or, more likely, am I simply doing something wrong?
N.B. It seems to have to do something with changing attributes etc of element that I've created myself. For example, every time I add the attributes 'att.global' to such an element, I get the same error message when trying to download the ODD.
@JaapGeraerts I haven't been able to reproduce this error. This is what I tried (the ODD downloads correctly after every step):
- start from TEI All
- Create a new element
<newElement>
- Add membership to
att.global
- Copy the attribute
key
- Edited
key
to make it required - Create a new
test
attribute - Add membership to
model.listLike
Did I forget anything?