Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027209 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | major | always | 2014-07-27 17:55 | 2014-07-29 08:03 | |||
Reporter | gorozcoh | View Status | public | |||||
Assigned To | dbaz | |||||||
Priority | high | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Windows | Database | PostgreSQL | Java version | 1.6.0_45 | |||
OS Version | Windows Server 2008 R2 Standard | Database version | 9.2 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027209: Error 404 Open Process PopUp | |||||||
Description | Process linked to window button do not run. Shows Error 404 Resource not found. | |||||||
Steps To Reproduce | (See Attached Files) 0. Create Openbravo Clean Instance. 1. Create new Module 2. Create Table A in PostgreSQL 3. Create Stored Procedure C (Function) in PostgreSQL 4. Create a process in Report & Process Window using stored procedure C in PostgreSQL. 5. Create Table A with column button 6. Create Window B linked to Table A 7. Try run process in window B | |||||||
Tags | No tags attached. | |||||||
Attached Files | ErrorOpenbravo.rar [^] (249,076 bytes) 2014-07-27 17:55 Report and Process Without Java Class.png [^] (86,002 bytes) 2014-07-29 02:34 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0068939) dbaz (developer) 2014-07-29 01:26 |
In the "Steps to reproduce" I don't see the step where you create the java that handles the process. I would suggest you to follow this guide: http://wiki.openbravo.com/wiki/How_to_create_a_Standard_Process_Definition#Java_Implementation [^] Anyway, if you want to see a real example in core, check this process: FIN_AddPaymentFromJournal Where you can see that there is a "Report and Process" created for it, with a "Process Class" associated. Also, there is a "FIN_AddPaymentFromJournal.java" file that calls the stored procedure. This kind of file is what I miss in your "Steps To Reproduce". |
(0068940) gorozcoh (reporter) 2014-07-29 02:42 |
thanks for your kind reply. In page http://wiki.openbravo.com/wiki/Processes [^] you could see: Defining Processes Processes can be of two different types: PL/SQL Processes and Java Processes. PL/SQL processes are implemented in the PL/SQL language and are executed by the database engine. Java proceses are implemented in the Java language and are executed by the application server. My process is PL/SQL type. Java clas is not required. there are dozens of such processes in openbravo(see file attached Report & Process Without Java Class.png) without java class associated. I've created and used before such processes in my applications and had never received this error message. |
(0068941) alostale (manager) 2014-07-29 08:02 |
Looks like compilation is missed (I updated documentation with a note to include it). So in your case before step 7 you should run ant smartubuild and restart Tomcat. |
(0068942) alostale (manager) 2014-07-29 08:03 |
Updated documentation http://wiki.openbravo.com/wiki/Processes#Executing_processes [^] to include required compilation step. |
Issue History | |||
Date Modified | Username | Field | Change |
2014-07-27 17:55 | gorozcoh | New Issue | |
2014-07-27 17:55 | gorozcoh | Assigned To | => dbaz |
2014-07-27 17:55 | gorozcoh | File Added: ErrorOpenbravo.rar | |
2014-07-27 17:55 | gorozcoh | Web browser | => Google Chrome |
2014-07-27 17:55 | gorozcoh | Modules | => Core |
2014-07-27 17:55 | gorozcoh | Triggers an Emergency Pack | => No |
2014-07-29 01:26 | dbaz | Note Added: 0068939 | |
2014-07-29 01:28 | dbaz | Status | new => feedback |
2014-07-29 02:34 | gorozcoh | File Added: Report and Process Without Java Class.png | |
2014-07-29 02:42 | gorozcoh | Note Added: 0068940 | |
2014-07-29 08:02 | alostale | Note Added: 0068941 | |
2014-07-29 08:03 | alostale | Note Added: 0068942 | |
2014-07-29 08:03 | alostale | Status | feedback => closed |
2014-07-29 08:03 | alostale | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |