There is 1 update, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f8fdabd1-5344-428d-b195-840f9de41898 XWIKI-23579 Open

It should not be possible to create a class field with an empty name

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-71f0fb41-741b-4242-8196-26f4b91a18e8 Changes by Thomas Mortagne on 23/Oct/25 15:02
 
Summary: Adding It should not be possible to create a class field with an empty name to a document's class irreversibly breaks it
 
 

2 comments

 
cid:jira-generated-image-avatar-71f0fb41-741b-4242-8196-26f4b91a18e8 Thomas Mortagne on 23/Oct/25 15:04
 
It's not the only problem an empty field name will cause, so it should definitely be forbidden and fail early. {{null}} should be forbidden too, by the way.
 
cid:jira-generated-image-avatar-71f0fb41-741b-4242-8196-26f4b91a18e8 Thomas Mortagne on 23/Oct/25 15:11
 
It's not the only problem an empty field name will cause, so it should definitely be forbidden and fail early (same for any entity actually) . {{null}} should be forbidden too, by the way.