This issue has been created
There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f7feca93-0a77-460a-be52-7b7735fccc72 XWIKI-22479 Open

Annotation missing message is an info instead of a warning

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-5dec9982-2f7f-44a9-84c4-bc697cae39d4 Charpentier Lucas created this issue on 03/Sep/24 13:54
 
Summary: Annotation missing message is an info instead of a warning
Issue Type: cid:jira-generated-image-avatar-f7feca93-0a77-460a-be52-7b7735fccc72 Bug
Affects Versions: 16.7.0
Assignee: Unassigned
Components: Annotations
Created: 03/Sep/24 13:54
Labels: consistency
Priority: cid:jira-generated-image-static-major-c583899d-32f0-40ef-a24a-7a40605e5157 Major
Reporter: Charpentier Lucas
Description:

The edit and view modes for the annotation have a message as a fallback for when the annotation cannot be found. This message is an info message. Seeing how we do things now, I'd have expected this message to be a warning or an error instead.

 

See https://github.com/xwiki/xwiki-platform/blob/d11ca5d781f8a42a85bc98eb82306c1431e764d4/xwiki-platform-core/xwiki-platform-annotation/xwiki-platform-annotation-ui/src/main/resources/AnnotationCode/Macros.xml#L121

 

This was found and reported when looking for a solution to XWIKI-22433.

 

 
 

1 update

 
cid:jira-generated-image-avatar-5dec9982-2f7f-44a9-84c4-bc697cae39d4 Changes by Charpentier Lucas on 03/Sep/24 14:02
 
Difficulty: Unknown Easy
 
 

1 comment

 
cid:jira-generated-image-avatar-5dec9982-2f7f-44a9-84c4-bc697cae39d4 Charpentier Lucas on 03/Sep/24 14:01
 

Note that Settings.xml has two similar warning/error messages styled like infos.