Task #2907

Command parameters check step

Added by Matthieu Decorde about 1 month ago. Updated 15 days ago.

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 about 1 month ago

  • Description updated (diff)

#2 Updated by Serge Heiden about 1 month ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde about 1 month ago

  • % Done changed from 0 to 30

ALL and Edition tests implemented

#5 Updated by Matthieu Decorde 15 days ago

  • Target version changed from Portal 0.6.3 to Portal 0.7

Also available in: Atom PDF