History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OQ-246
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dick Anderson
Reporter: Matthew Tomlinson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenQuote

The Quote page when using WSRP returns this incomplete HTML

Created: 08/Nov/10 04:58 PM   Updated: 05/Jan/11 03:59 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3

Environment: WSRP HTML Controlled quote process

Release Notes Comment: The English translation for the "Login & Save" button's label has been updated to prevent it from causing problems to WSRP. The button's label had included an apostrophe (in error) which lead to invalid XML being output.


 Description  « Hide
This error occurs on EquinePlus and LifePlus product on the demo OpenQuote server (no other testing has been undertaken).

The Quote page when using WSRP returns this incomplete HTML in the WSRP response XML:

<ns1:markupstring xmlns:ns1="urn:oasis:names:tc:wsrp:v1:types">&lt;script type='text/javascript' src='/quotation/jscript/tiny_mce/tiny_mce.js'&gt;&lt;/script&gt;&lt;script type='text/javascript' src='/quotation/jscript/openquote.js'&gt;&lt;/script&gt;&lt;script type='text/javascript' src='/quotation/jscript/numberformat.js'&gt;&lt;/script&gt; &lt;table width='100%' border='0' cols='1'&gt;&lt;tr&gt;&lt;td&gt;&lt;form name='OQ0-5-0' action='wsrp_rewrite?wsrp-urlType=blockingAction&amp;amp;wsrp-interactionState=JBPNS_/wsrp_rewrite' method='post'&gt;&lt;table width='100%' cellpadding='15'&gt; &lt;tr&gt; &lt;td&gt;&lt;table width='100%'&gt; &lt;tr valign='middle' class='portlet-table-subheader'&gt;&lt;td&gt;Your Quotation: GBP148.18&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td height='15'&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class='portlet-font'&gt; &lt;ul&gt; &lt;li&gt;Your quote number: &lt;b&gt;QF0369&lt;/b&gt;&lt;/li&gt; &lt;li&gt;This quote is valid until: 6 December, 2010.&lt;/li&gt;&lt;li&gt;This quote is inclusive of IPT at 5%&lt;/li&gt; &lt;li&gt;A sample of the policy wordings is available &lt;a target='wordings' href='http://localhost:8080/alfresco/download/direct?path=/Company%20Home/Product/AIL/Demo/EquinePlus/Wordings.pdf'&gt;here&lt;/a&gt;.&lt;/li> &lt;/ul&gt; &lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td class='portlet-font'&gt;&lt;table width='100%' border='0' align='center'&gt;&lt;tr&gt;&lt;td width='15%'&gt;&amp;nbsp;&lt;/td&gt;&lt;td width='70%' align='center'&gt;&lt;input type='button' onClick='showDivDisplay("Proposer Login"); hideDivDisplay("Forgotten Password");hideDivDisplay("Create Login")' name='op=save' value='Save' class='portlet-form-input-field'/&gt;&lt;input type='submit' name='op=requote' value='Requote' class='portlet-form-input-field'/&gt;&lt;input type='submit' name='op=i18n_confirm_and_pay_button_label:immediate=false' value='Confirm and Pay' class='portlet-form-input-field'/&gt;&lt;input type='submit' name='op=view:id=QF0369' value='Quote document' class='portlet-form-input-field'/&gt;&lt;/td&gt;&lt;td width='15%' align='right'&gt;&lt;input type='submit' name='op=quit:immediate=true' value='Quit' class='portlet-form-input-field'/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;</ns1:markupstring>


Which produces this HTML:

<script type='text/javascript' src='http://www.appliedindustriallogic.com:8080/quotation/jscript/tiny_mce/tiny_mce.js'&gt;&lt;/script>
<script type='text/javascript' src='http://www.appliedindustriallogic.com:8080/quotation/jscript/openquote.js'&gt;&lt;/script>
<script type='text/javascript' src='http://www.appliedindustriallogic.com:8080/quotation/jscript/numberformat.js'&gt;&lt;/script>
<table width='100%' border='0' cols='1'>
<tr>
    <td>
    <form name='OQ0-5-0' action='/~matthewtomlinson/qbwebsite/index.php/examples/website-integration-example' method='post'>
        <table width='100%' cellpadding='15'>
        <tr>
            <td>
            <table width='100%'>
                <tr valign='middle' class='portlet-table-subheader'>
                <td>Your Quotation: GBP148.18</td>
                </tr>
                <tr>
                <td height='15'></td>
                </tr>
                <tr>
                <td class='portlet-font'>
                    <ul>
                    <li>Your quote number: <b>QF0356</b></li>
                    <li>This quote is valid until: 5 December, 2010.</li>
                    <li>This quote is inclusive of IPT at 5%</li>
                    <li>A sample of the policy wordings is available <a target='wordings' href='http://localhost:8080/alfresco/download/direct?path=/Company%20Home/Product/AIL/Demo/EquinePlus/Wordings.pdf'&gt;here&lt;/a&gt;.&lt;/li>
                    </ul>
                </td>
                </tr>
                <tr>
                <td class='portlet-font'>
                    <table width='100%' border='0' align='center'>
                    <tr>
                        <td width='15%'>&nbsp;</td>
                        <td width='70%' align='center'>
                        <input type='button' onClick='showDivDisplay("Proposer Login"); hideDivDisplay("Forgotten Password");hideDivDisplay("Create Login")' name='op=save' value='Save' class='portlet-form-input-field'/>
                        <input type='submit' name='op=requote' value='Requote' class='portlet-form-input-field'/>
                        <input type='submit' name='op=i18n_confirm_and_pay_button_label:immediate=false' value='Confirm and Pay' class='portlet-form-input-field'/>
                        <input type='submit' name='op=view:id=QF0356' value='Quote document' class='portlet-form-input-field'/>
                        </td>
                        <td width='15%' align='right'>
                        <input type='submit' name='op=quit:immediate=true' value='Quit' class='portlet-form-input-field'/>
                        </td>
                    </tr>
                    </table>
                </td>
                </tr>
                <tr>
                <td>

** the html is cut short....


An error in the HTML which might be upsetting it is in the rendering of the "login/forgotten your password" section:

<input type='submit'
 id='loginButton'
 class='portlet-form-input-field'
 name='op=Login '
 Save:page=EquinePlus:portal=quote '
 value='Login '
 Save ' />



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.