When parts.js.rb is updated to add more reasons to reject a document, a 
corresponding change must be made to incomplete.json.rb. 

Is there an easy way for incomplete.json.rb to somehow pick up the changes, 
perhaps by redefining the structure of the reasons to include all of the parts: 
the name of the variable, the text to be displayed on the tool, and the text to 
be inserted into the email?

Just asking because I had this same issue last time I updated the checkboxes 
and didn't update the email text.

Thinking out loud, each reason would be e.g.
reason[1] = [@unsigned, ' unsigned', ' the document appears to be unsigned']
reason[2] = [@script_font, ' script font', ' a name typed in a script font is 
not a signature']

But maybe it would help if the parts.js.rb would calculate the reasons before 
invoking the incomplete message processing? In other words, just move the 
message calculation from incomplete.json.rb to parts.js.rb.

Craig L Russell
c...@apache.org

Reply via email to