On Mon, Aug 22, 2016 at 9:03 PM, Craig Russell <[email protected]> wrote:
> This last has me wondering.
>
>> On Aug 22, 2016, at 8:18 AM, Sam Ruby <[email protected]> wrote:
>>
>>> Then I want to see the email template for incomplete and unsigned filled 
>>> from the form.
>>
>> Fair to assume that this should appear on the right pane?  If so, that
>> code would go here:
>>
>> https://github.com/apache/whimsy/blob/d186820f9d2e61ae81bd406b2fae8feca17c4d69/www/secretary/workbench/file.cgi#L783
>
> I don’t see anything about sending email here. Is it in the ajax part?

Indeed.  What the workbench does is show you what will be done (and
that is here) and hidden in the display is a number of "data_"
attributes containing parameters.  Once that is shown, the "AJAX part"
looks for todos and iterates over then, sending the parameters that
are hidden.  So define what you want to do here and it will be
processed along with the other steps.

> Anyway, I have this pending:
> ---
> - doctype: icla
>   source: apache-icla-prajwal.pdf
>   realname: Prajwal Rao
>   pubname: Prajwal Rao
>   email: [email protected]
>   filename: prajwal-rao.pdf
>   nname: Prajwal Rao
>   nemail: [email protected]
>   iname: Prajwal Rao
>   iemail: [email protected]
>   uname: Prajwal Rao
>   uemail: [email protected]
>   pname: Prajwal Rao
>   pemail: [email protected]
>   memail: [email protected]
>   gname: Prajwal Rao
>   gemail: [email protected]
>   contact: Prajwal Rao
>   cemail: [email protected]
>   ipodling: " "
>   email:addr: [email protected]
>   email:id: 
> "<CAAyEJ9o=MjPX8sLVQO2Ud21CCMb=v4crqBLJD+a=fkdnl1e...@mail.gmail.com>"
>   email:name: Prajwal Rao
>   email:subject: Signed Individual Contributor License Agreement - Prajwal Rao
>   svn:mime-type: application/pdf
>
> It’s failing with a 500 in file.cgi, I assume in the sending mail part.
>
> How do I debug this?

Generally, when you see a 500, look in the logs:

https://github.com/apache/whimsy/blob/master/MACOSX.md#debugging

> Thanks,
>
> Craig
>
> Craig L Russell
> Architect
> [email protected]
> P.S. A good JDO? O, Gasp!

- Sam Ruby

Reply via email to