Task #2907
Command parameters check step
Status: | New | Start date: | 10/08/2020 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 30% |
||
Category: | Commands | Spent time: | - | ||
Target version: | Portal 0.7 |
Description
Add tests to ensure the mandatory parameters are set
E.g :
<li><p>ouvrir l'édition à la page 1 en mettant en évidence la première occurrence de la séquence « <a class="command" command="edition" path="/TDM80J" editions="default,facs" wordids="w_tdm80j_6,w_tdm80j_7">Phileas Fogg</a> ».</p></li>won't work because "textid" is missing Parameters :
- ALL (except help, home, contact commands who do not need parameters)
- "path" is mandatory
- Edition
- "textid" is mandatory if "page" or "wordids" is set
History
#1 Updated by Matthieu Decorde over 2 years ago
- Description updated (diff)
#2 Updated by Serge Heiden over 2 years ago
- Description updated (diff)
#3 Updated by Matthieu Decorde over 2 years ago
- Description updated (diff)
#4 Updated by Matthieu Decorde over 2 years ago
- % Done changed from 0 to 30
ALL and Edition tests implemented
#5 Updated by Matthieu Decorde over 2 years ago
- Target version changed from Portal 0.6.3 to Portal 0.7