Project

General

Profile

Bug #24583

Updated by Clark ANDRIANASOLO about 2 months ago

When creating a new Technique and in the @Parameters@ tab, 

 * I could save an @Enum@ parameter with filling anything (for @Display name@ and @Value@) : 
 !clipboard-202403221738-zqt7t.png! !clipboard-202403221725-n0vwr.png! 

 => But when creating a directive from it displays an error, for example when two parameters have "empty enums" we have both errors :  
 !clipboard-202403221735-b7bz8.png! 

 * Also, when we only fill @Display name@, we get the display name but the same error at save (because the value are still "empty") 

 * Lastly, when both values are filled, in the directive parameters it is impossible to have a default value (but in the illegal case when @Value@ is empty, it is selected by default)  

 To fix this : 
 * we should display an error and should not be able to save a technique when at least one Enum has an empty @Value@  
 * we should add a hint that @Display name@ is optional and will inherit @Value@ if empty 
 * we should have the possibility to input a default value for an enum (by selecting one of the values) and for a text

Back