Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0006038 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 08. Project and service management | major | have not tried | 2008-11-18 19:55 | 2009-02-18 15:17 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | 12787 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0006038: [QA-alpha-r1] Change Status button on projects has no label | |||||||
Description | I create a new Multiphase project. The label for the button used to change project status has no label. | |||||||
Steps To Reproduce | Go to Project and Service > Transactions > Multiphase Project Click on new. See the button at the bottom of the page (see attach) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0011986) PavelPonomarev (viewer) 2009-01-08 14:29 |
WAD issue, reassigned from Hennadzi to Rafa. |
(0012094) rafaroda (viewer) 2009-01-10 18:02 |
Info provided by Paul: This problem is closely related with the unique logic that is used for field "changeprojectstatus"of the WAD process. Due to that, there is a lack of some code in class MultiphaseProject.java (same as for "ServiceProject.java") to show that label. For example, the following code could be used in my opinion: xmlDocument.setParameter("ChangeProjectStatus_BTNname", Utility.getButtonName(this, vars, "803670", "ChangeProjectStatus_linkBTN", usedButtonShortCuts, reservedButtonShortCuts)); some where in method printPageEdit(). Therefore, a parameter should appear in the "MultiphaseProject_Edition.xml" file. This, in turn, leads us to the class WADButton.java or rather to an adjustment of methods "WADButton.toJava()" and "WADButton.toXml()". To save stability of code and fix this bug, my proposition is to add some code for this condition : getData("ColumnName").equalsIgnoreCase("ChangeProjectStatus") For method WADButton.toJava() the additional code could be: if (getData("IsDisplayed").equals("Y") && getData("ColumnName").equalsIgnoreCase("ChangeProjectStatus")) return "xmlDocument.setParameter(\"" + getData("ColumnName") + "_BTNname\", Utility.getButtonName(this, vars, \"" + getData("AD_Field_ID") + "\", \"" + getData("ColumnName") + "_linkBTN\", usedButtonShortCuts, reservedButtonShortCuts));"; For the method WADButton.toXml(): if (getData("IsDisplayed").equals("Y") && getData("ColumnName").equalsIgnoreCase( "ChangeProjectStatus")) { text.append("<PARAMETER id=\"").append(getData("ColumnName")) .append("_BTNname\" name=\"").append( getData("ColumnName")).append( "_BTNname\" default=\"\"/>\n"); } |
(0013149) svnbot (viewer) 2009-02-04 16:53 |
Repository: openbravo Revision: 12787 Author: alostale Date: 2009-02-04 16:53:56 +0100 (Wed, 04 Feb 2009) fixed bug 0006038: [QA-alpha-r1] Change Status button on projects has no label --- U trunk/src-wad/lib/openbravo-wad.jar U trunk/src-wad/src/org/openbravo/wad/controls/WADButton.java --- https://dev.openbravo.com/websvn/openbravo/?rev=12787&sc=1 [^] |
(0013667) sureshbabu (viewer) 2009-02-18 15:17 |
Retested in context 79.125.56.185/openbravotrunk |
![]() |
|||
Date Modified | Username | Field | Change |
2008-11-18 19:55 | plujan | New Issue | |
2008-11-18 19:55 | plujan | Assigned To | => rafaroda |
2008-11-18 19:55 | plujan | sf_bug_id | 0 => 2310712 |
2008-11-18 19:55 | plujan | File Added: R250alpha_BUG_NoLabelButton.JPG | |
2008-11-18 19:55 | plujan | OBNetwork customer | => No |
2008-11-18 19:55 | plujan | Regression testing | => No |
2008-11-18 19:57 | plujan | Status | new => scheduled |
2008-11-18 19:57 | plujan | fix_in_branch | => trunk |
2008-12-23 12:58 | PavelPonomarev | Assigned To | rafaroda => Hennadzi |
2009-01-08 14:29 | PavelPonomarev | Note Added: 0011986 | |
2009-01-08 14:29 | PavelPonomarev | Assigned To | Hennadzi => PavelPonomarev |
2009-01-08 14:30 | PavelPonomarev | Assigned To | PavelPonomarev => rafaroda |
2009-01-08 14:30 | PavelPonomarev | fix_in_branch | trunk => |
2009-01-10 18:00 | rafaroda | Assigned To | rafaroda => alostale |
2009-01-10 18:02 | rafaroda | Note Added: 0012094 | |
2009-01-27 15:44 | Hennadzi | Issue Monitored: Hennadzi | |
2009-02-04 16:53 | svnbot | Checkin | |
2009-02-04 16:53 | svnbot | Note Added: 0013149 | |
2009-02-04 16:53 | svnbot | Status | scheduled => resolved |
2009-02-04 16:53 | svnbot | Resolution | open => fixed |
2009-02-04 16:53 | svnbot | svn_revision | => 12787 |
2009-02-06 09:07 | Hennadzi | Issue End Monitor: Hennadzi | |
2009-02-18 15:17 | sureshbabu | Status | resolved => closed |
2009-02-18 15:17 | sureshbabu | Note Added: 0013667 | |
2009-02-18 15:17 | sureshbabu | Fixed in Version | => trunk |
Copyright © 2000 - 2009 MantisBT Group |