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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035333
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2017-02-22 07:402017-02-27 13:03
ReporterpradeepvarmaView Statuspublic 
Assigned Tovmromanos 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioneb4b97983c33
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tovmromanos
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035333: Build error in RR17Q1 with latest Improved Balance Sheet and P&L Structure Report version (1.0.0)

DescriptionTo view all all new features I am upgrading to RR17Q1 on a test instance. I do get a compile problem listed below. Would you be able
to point me in the right direction to finalize the compile? Did the compile via the UI. Will try again via the command line.

compileSqlc:
[javac] Compiling 2261 source files to /opt/OpenbravoERP/build/classes
[javac]
/opt/OpenbravoERP/modules/org.openbravo.report.improved.balancesheet/src/org/openbravo/report/improved/balancesheet/ad_repor
ts/GeneralAccountingReports.java:680: error: cannot find symbol
[javac] String[] orgList = OBContext.getOBContext().getRole().getOrganizationList().split(",");
[javac] ^
[javac] symbol: method getOrganizationList()
[javac] location: class Role
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
Steps To ReproducePFB the steps to reproduce:
1. Upgrade the version to PR17Q1 through module management.
2. Then add openbravo retail module (RR17Q1) through module management.
3. Add the module "Improved Balance Sheet and P&L Structure Report" through module management.
4. Open the terminal and run the command "ant smartbuild -Dlocal=no -Dforce=true"
and check the above mention error. Or build the instance throught UI and notice this error being thrown.

TagsNo tags attached.
Attached Fileslog file icon build.log [^] (43,518 bytes) 2017-02-22 07:40

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034297 closedalostale api change: removed CLIENTLIST and ORGLIST from AD_ROLE 
related to defect 00342013.0PR17Q1 closedalostale can't create import entries while changing role organization access 
related to defect 0034233 closedSanjota Modules Automation. Modules fixes 

-  Notes
(0094527)
alostale (manager)
2017-02-22 08:20

This is caused by API change PR17Q1.2 [1]. Which is already fixed in org.openbravo.report.improved.balancesheet module [2].

A new version for this module should be published fixing this issue [3].

---
[1] http://wiki.openbravo.com/wiki/API_changes [^]
[2] https://code.openbravo.com/erp/mods/org.openbravo.report.improved.balancesheet/rev/810bfe17aa4ad05b4580c37e4917375aff1bcbe4 [^]
[3] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleDetail/ImprovedBalanceSheetandPLStructureReport [^]
(0094632)
hgbot (developer)
2017-02-27 11:08

Repository: erp/mods/org.openbravo.report.improved.balancesheet
Changeset: eb4b97983c33b8d318dc4ea98dd53dd174b2501f
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Feb 27 10:27:49 2017 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.report.improved.balancesheet/rev/eb4b97983c33b8d318dc4ea98dd53dd174b2501f [^]

Fixed bug 35333: Adapted code to avoid API change
Transplanted changes from Core to avoid API change issue.
Not necessary to increase core dependency as this change works with any Core version

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/report/improved/balancesheet/ad_reports/GeneralAccountingReports.java
---
(0094636)
vmromanos (manager)
2017-02-27 13:03

Solution based on current Core's code.

Code review + testing OK.

Released new Improved Balance Sheet and P&L Structure Report 1.0.100

- Issue History
Date Modified Username Field Change
2017-02-22 07:40 pradeepvarma New Issue
2017-02-22 07:40 pradeepvarma Assigned To => platform
2017-02-22 07:40 pradeepvarma File Added: build.log
2017-02-22 07:40 pradeepvarma Modules => Core
2017-02-22 07:40 pradeepvarma Resolution time => 1489532400
2017-02-22 07:40 pradeepvarma Triggers an Emergency Pack => No
2017-02-22 07:55 pradeepvarma Steps to Reproduce Updated View Revisions
2017-02-22 08:17 alostale Relationship added related to 0034297
2017-02-22 08:17 alostale Relationship added related to 0034201
2017-02-22 08:17 alostale Relationship added related to 0034233
2017-02-22 08:20 alostale Note Added: 0094527
2017-02-22 08:21 alostale Assigned To platform => Triage Finance
2017-02-22 08:21 alostale Summary Build error to the version RR17Q1 => Build error in RR17Q1 with latest Improved Balance Sheet and P&L Structure Report version (1.0.0)
2017-02-27 09:29 vmromanos Status new => scheduled
2017-02-27 09:29 vmromanos Assigned To Triage Finance => vmromanos
2017-02-27 11:08 hgbot Checkin
2017-02-27 11:08 hgbot Note Added: 0094632
2017-02-27 11:08 hgbot Status scheduled => resolved
2017-02-27 11:08 hgbot Resolution open => fixed
2017-02-27 11:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.report.improved.balancesheet/rev/eb4b97983c33b8d318dc4ea98dd53dd174b2501f [^]
2017-02-27 13:03 vmromanos Review Assigned To => vmromanos
2017-02-27 13:03 vmromanos Note Added: 0094636
2017-02-27 13:03 vmromanos Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker