Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008534
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-04-09 15:512009-04-25 00:00
ReporterroklenardicView Statuspublic 
Assigned Tovinothbabu 
PriorityhighResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branchFixed in SCM revision085ef891be22
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_12
OS VersionUbuntu 9.04Database version8.3.7Ant version1.7.1
Product Version2.50betaSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008534: submitCommandFormParameter is passed UUID without quote marks

DescriptionGo to Warehouse Management || Analysis Tools || Valued Stock Report and see the source of the generated report.

You will noticed that all links to products use the submitCommandFormParameter javascript method to link to the product window. however, the product id is passed without any quotations so when a new product (with UUID) is linked to it fails.

see the sample code:

      <DIV id="sectionDetail">
        <TR class="DataGrid_Body_Row DataGrid_Body_Row_0" id="funcEvenOddRow1xx">
          <TD class="DataGrid_Body_Cell" width="58%"> <A class="LabelLink" href="#" onclick="submitCommandFormParameter('RELATION', document.frmMain.inpmProductId, FF80818120776B5E0120776E4A6D018F, false, document.frmMain, '../Product/Costing_Relation.html', null, false, true);return false;" onmouseover="window.status='Costs';return true;" onmouseout="window.status='';return true;" class="Link" id="idfieldmProductId">
            <SPAN>Boots</SPAN></A></TD>
          <TD class="DataGrid_Body_Cell" width="12%">363</TD>
          <TD class="DataGrid_Body_Cell" width="10%">Unit</TD>

          <TD class="DataGrid_Body_Cell" width="11%">27,00</TD>
          <TD class="DataGrid_Body_Cell" width="9%">9.801,00</TD>
        </TR>
       
        <TR class="DataGrid_Body_Row DataGrid_Body_Row_1" id="funcEvenOddRow1xx">
          <TD class="DataGrid_Body_Cell" width="58%"> <A class="LabelLink" href="#" onclick="submitCommandFormParameter('RELATION', document.frmMain.inpmProductId, FF80818120776B5E0120776E4A2F0124, false, document.frmMain, '../Product/Costing_Relation.html', null, false, true);return false;" onmouseover="window.status='Costs';return true;" onmouseout="window.status='';return true;" class="Link" id="idfieldmProductId">
            <SPAN>Hat</SPAN></A></TD>
          <TD class="DataGrid_Body_Cell" width="12%">499</TD>

          <TD class="DataGrid_Body_Cell" width="10%">Unit</TD>
          <TD class="DataGrid_Body_Cell" width="11%">0,00</TD>
          <TD class="DataGrid_Body_Cell" width="9%">0,00</TD>
        </TR>
       
        <TR class="DataGrid_Body_Row DataGrid_Body_Row_0" id="funcEvenOddRow1xx">
          <TD class="DataGrid_Body_Cell" width="58%"> <A class="LabelLink" href="#" onclick="submitCommandFormParameter('RELATION', document.frmMain.inpmProductId, FF80818120776B5E0120776E4A300126, false, document.frmMain, '../Product/Costing_Relation.html', null, false, true);return false;" onmouseover="window.status='Costs';return true;" onmouseout="window.status='';return true;" class="Link" id="idfieldmProductId">
            <SPAN>Shirts</SPAN></A></TD>

          <TD class="DataGrid_Body_Cell" width="12%">437</TD>



Steps To Reproduce1) Create a new product
2) Generate stock for it
3) Go to Warehouse Management || Analysis Tools || Valued Stock Report
Proposed SolutionValued Stock Report is just one report with this issue, probably there are more like this so all reports should be revised for this issue and single quotations need to be added around UUID

List here all the reports where this is happening:
* Valued Stock Report
* Expense Report
Tagsmain
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0015402)
hgbot (developer)
2009-04-17 11:27

Repository: erp/devel/pi
Changeset: 085ef891be22662361ac444f20033c0399d008c8
Author: Vinoth Babu <vinoth.babu <at> openbravo.com>
Date: Fri Apr 17 14:50:25 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/085ef891be22662361ac444f20033c0399d008c8 [^]

Fixes bug 8534 submitCommandFormParameter is passed UUID with quote marks

---
M src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html
---
(0015710)
sureshbabu (reporter)
2009-04-24 16:25

Tested working fine

- Issue History
Date Modified Username Field Change
2009-04-09 15:51 roklenardic New Issue
2009-04-09 15:51 roklenardic Assigned To => rafaroda
2009-04-09 15:51 roklenardic Regression testing => No
2009-04-09 16:54 rafaroda Assigned To rafaroda => sathiyan
2009-04-09 16:54 rafaroda Priority normal => high
2009-04-09 16:54 rafaroda Severity minor => major
2009-04-09 16:54 rafaroda Status new => scheduled
2009-04-09 16:54 rafaroda Proposed Solution updated
2009-04-09 16:54 rafaroda Steps to Reproduce Updated
2009-04-15 08:32 sathiyan Assigned To sathiyan => vinothbabu
2009-04-17 11:27 hgbot Checkin
2009-04-17 11:27 hgbot Note Added: 0015402
2009-04-17 11:27 hgbot Status scheduled => resolved
2009-04-17 11:27 hgbot Resolution open => fixed
2009-04-17 11:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/085ef891be22662361ac444f20033c0399d008c8 [^]
2009-04-22 11:23 psarobe Tag Attached: main
2009-04-24 16:25 sureshbabu Status resolved => closed
2009-04-24 16:25 sureshbabu Note Added: 0015710
2009-04-24 16:25 sureshbabu Fixed in Version => main
2009-04-25 00:00 anonymous sf_bug_id 0 => 2780825


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker