View Issue Details

IDProjectCategoryView StatusLast Update
0004466OXID eShop (all versions)2. ----- eShop backend (admin) -----public2012-10-15 15:34
Reporteriboargun Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version4.6.3 revision 47975 
Summary0004466: Admin Order Management
DescriptionI can't export invoice PDF because form tag is immediatly closing wrong in source code.

<form> tags should not be closed between <tr>

This can cause errors. My Source Code after output in firebug looks like this:

<table cellspacing="0" cellpadding="0" style="padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border : 1px #A9A9A9; border-style : solid solid solid solid;" width="220">
                  <form name="myedit3" id="myedit3" action="http://syntaxplus.kolibo.de/admin/index.php?editlanguage=1&stoken=B465ACE4&" method="post" target="expPDF"></form>
                  <input type="hidden" name="stoken" value="B465ACE4"><input type="hidden" name="force_admin_sid" value="4085e706b2e236adf63a565bf01ebfc3">
                  <input type="hidden" name="cl" value="order_overview">
                  <input type="hidden" name="fnc" value="createPDF">
                  <input type="hidden" name="oxid" value="0d7fce1e0b13eeb4741f5d2321d057c2">
                  <tbody><tr>
                    <td rowspan="3">
                      <img src="http://syntaxplus.kolibo.de/out/admin/img//pdf_icon.gif" width="41" height="38" alt="" border="0" hspace="0" vspace="0" align="absmiddle">
                    </td>
                    <td valign="top" class="edittext" align="right">
                      PDF Typ: <select name="pdftype" class="editinput" style="width:80px;">
                      <option value="standart" selected="">Rechnung</option>
                      <option value="dnote">Lieferschein</option>
                      </select>
                    </td>
                  </tr>
                  <tr>
                    <td align="right" class="edittext">
                      In Sprache <select name="pdflanguage" class="saveinnewlanginput" style="width:80px;">
                                            <option value="0" selected="">English</option>
                                            <option value="1">Deutsch</option>
                                            </select>
                    </td>
                  </tr>
                  <tr>
                    <td align="right" class="edittext">

                      <input type="submit" class="edittext" name="save" value="PDF ausgeben">
                      <iframe name="expPDF" width="0" height="0" border="0" style="display:none;"></iframe>
                    </td>
                  </tr>
                  </tbody></table>

Steps To ReproduceAdmin Area -> Orders -> PDF Export
TagsNo tags attached.
Attached Files
ThemeBoth
BrowserFireFox 6.x, Google Chrome
PHP Versionany
Database Versionany

Activities

aurimas.gladutis

2012-10-15 15:34

reporter   ~0007616

We could not reproduce it, but if there is a problem, edit out/admin/tpl/order_overview.tpl (line: 345) and swith places table tag with form like that:

<form name="myedit2" id="myedit2" action="[{ $oViewConf->getSelfLink() }]" method="post" target="expPDF">
<table cellspacing="0" cellpadding="0" style="padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border : 1px #A9A9A9; border-style : solid solid solid solid;" width="220">

and it should be fine.