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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011278
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-11-09 12:272009-11-17 00:00
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version2.50MP9
StatusclosedFix in branchpiFixed in SCM revisioned455230e288
ProjectionnoneETAnoneTarget Version2.50MP9
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP5SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011278: Incorrect mapping when a deactivated window is reactivated

DescriptionA deactivated window is reactivated (IE Asset). After compiling, if user tries to access it, an error is shown regarding to mapping:

javax.servlet.ServletException: El Arropador (Wrapper) no puede hallar clase de servlet org.openbravo.erpWindows.org.openbravo.Asset.Asset o una clase de la que depende
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:619)

causa ra???z

java.lang.ClassNotFoundException: org.openbravo.erpWindows.org.openbravo.Asset.Asset
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:619)
Steps To ReproduceAs System Administrator, Go to General Setup > Application > System Info. Check "Customization allowed".
Go to Window, Tabs and Field. Activate Asset window.
Go to General Setup > Application > Menu.
Add a new entry.
Select "Window" as Action. And select "Asset" window.
Compile the application using: ant compile.development -Dtab=asset
Restart Tomcat and try to access it.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0021669)
rafaroda (developer)
2009-11-10 10:04

I did the following steps and was able to see Asset window, enter, update and delete data:

1) In General Setup || Application || System Info tick Customization Allowed.
2) Went to Application Dictionary || Module and set In Development:
* core
* System Customization
3) In Application Dictionary || Windows, Tabs, and Fields || Window activated Asset record setting its module to System Customization.
4) In General Setup || Application || Menu created a new record with module System Customization.
5) Compile: ant compile.development -Dtab="asset" -Dtr="no"
6) Restarted Tomcat.

Any feedback?

Thanks.
(0021722)
rafaroda (developer)
2009-11-11 13:36

Please follow this document http://wiki.openbravo.com/wiki/ERP/2.50/Configuration_Manual/Configuration_changes_that_affect_the_Core_module [^]
(0021731)
networkb (developer)
2009-11-11 16:37

I did the following steps and was able to see but appears this error:

"Estado HTTP 500 -

type Informe de Excepción

mensaje

descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento.

excepción

javax.servlet.ServletException: El Arropador (Wrapper) no puede hallar clase de servlet org.openbravo.erpWindows.org.openbravo.Asset.Asset o una clase de la que depende
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    java.lang.Thread.run(Thread.java:619)

causa raíz

java.lang.ClassNotFoundException: org.openbravo.erpWindows.org.openbravo.Asset.Asset
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    java.lang.Thread.run(Thread.java:619)

nota La traza completa de la causa de este error se encuentra en los archivos de diario de Apache Tomcat/6.0.20."


The steps:

1.-As System Administrator, Go to General Setup > Application > System Info. Check "Customization allowed".

2.-Go to Application Dictionary > Module and set Core In Development.

3.-I created a new module; type: template, and set in Development.

4.-In Application Dictionary > Windows, Tabs, and Fields > Window activated Asset with module Core.

5.-In General Setup > Application > Menu created a new record with module Core.
Select "Window" as Action. And select "Asset" window.

6.-Compile: ant compile.development -Dtab="asset" -Dtr="no"

7.-Restarted Tomcat.

(0021732)
rafaroda (developer)
2009-11-11 16:53

Actually you are performing an action that should not be allowed:
1) Activate Customization Allowed check-box in System Info.
2) And then create a Template module.

Asier, can you please comment on this issue?

Thanks.
(0021733)
alostale (manager)
2009-11-11 17:26
edited on: 2009-11-12 08:32

As Rafa says, the steps defined make no sense. Let me explain:
1. This step creates a template to allow core modifications.
2. It does not make sense to set core in development after creating a template to customize it.
3. You needn't manually create a template since you created with step 1. Furthermore, there shouldn't be more than 1 template in development at the same time.

Anyway, templates do not affect in this issue. The problem is as follows:
-Change isActive or Name in a existent core window.
-Check its associated tabs classes. They have an extra org.openbravo.

(0021755)
hgbot (developer)
2009-11-12 08:44

Repository: erp/devel/pi
Changeset: ed455230e2888241ec197627fbea9bd2ef6d6c68
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Nov 12 08:43:34 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ed455230e2888241ec197627fbea9bd2ef6d6c68 [^]

fixed bug 0011278: Incorrect mapping when changing core window

---
M src-db/database/model/triggers/AD_WINDOW_TRG2.xml
---
(0021857)
sureshbabu (reporter)
2009-11-16 13:57

Tested working fine

- Issue History
Date Modified Username Field Change
2009-11-09 12:27 networkb New Issue
2009-11-09 12:27 networkb Assigned To => rafaroda
2009-11-10 10:04 rafaroda Note Added: 0021669
2009-11-10 10:04 rafaroda Status new => feedback
2009-11-10 17:11 networkb Target Version 2.50MP7 => 2.50MP9
2009-11-11 13:36 rafaroda Note Added: 0021722
2009-11-11 16:37 networkb Note Added: 0021731
2009-11-11 16:37 networkb Status feedback => new
2009-11-11 16:53 rafaroda Note Added: 0021732
2009-11-11 16:53 rafaroda Assigned To rafaroda => alostale
2009-11-11 17:26 alostale Note Added: 0021733
2009-11-11 17:26 alostale Status new => scheduled
2009-11-11 17:26 alostale fix_in_branch => pi
2009-11-12 08:32 alostale Note Edited: 0021733
2009-11-12 08:32 alostale Note Edited: 0021733
2009-11-12 08:44 hgbot Checkin
2009-11-12 08:44 hgbot Note Added: 0021755
2009-11-12 08:44 hgbot Status scheduled => resolved
2009-11-12 08:44 hgbot Resolution open => fixed
2009-11-12 08:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ed455230e2888241ec197627fbea9bd2ef6d6c68 [^]
2009-11-16 13:57 sureshbabu Note Added: 0021857
2009-11-16 13:57 sureshbabu Status resolved => closed
2009-11-16 13:57 sureshbabu Fixed in Version => 2.50MP9
2009-11-17 00:00 anonymous sf_bug_id 0 => 2898755


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker