Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035074Openbravo ERPA. Platformpublic2017-01-27 15:252017-03-15 20:18
caristu 
caristu 
normalminorN/A
closedfixed 
5
 
3.0PR17Q2 
alostale
Core
No
0035074: Create a builder for the BaseProcessActionHandler response actions
It would be nice to have an utility class that would help to build the response actions to be returned by the classes extending BaseProcessActionHandler.

This will help to:
- Make easy the way of building the JSON response
- Have cleaner / less duplicated code
In description
No tags attached.
related to defect 0039459 closed caristu MessageBar is not showing properly in a Process Window using retryExecution message 
blocks feature request 0035091 new Triage Omni OMS Review classes extending BaseProcessActionHandler to use ResponseActionsBuilder to generate the response 
blocks feature request 0035149 closed caristu Review classes extending BaseProcessActionHandler to use ResponseActionsBuilder to generate the response 
Issue History
2017-01-27 15:25caristuNew Issue
2017-01-27 15:25caristuAssigned To => platform
2017-01-27 15:25caristuModules => Core
2017-01-27 15:25caristuTriggers an Emergency Pack => No
2017-01-27 15:27caristuAssigned Toplatform => caristu
2017-01-27 15:27caristuDescription Updatedbug_revision_view_page.php?rev_id=14386#r14386
2017-01-30 17:43hgbotCheckin
2017-01-30 17:43hgbotNote Added: 0093940
2017-01-30 17:43hgbotStatusnew => resolved
2017-01-30 17:43hgbotResolutionopen => fixed
2017-01-30 17:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4e550fa86b96b2b5bedfc49db20647be8ea0576e [^]
2017-01-30 17:51hgbotCheckin
2017-01-30 17:51hgbotNote Added: 0093941
2017-01-30 18:08caristuNote Added: 0093943
2017-01-30 18:20caristuRelationship addedrelated to 0035091
2017-01-30 18:38hgbotCheckin
2017-01-30 18:38hgbotNote Added: 0093944
2017-01-30 18:38caristuNote Deleted: 0093943
2017-01-30 18:39caristuNote Added: 0093945
2017-01-30 19:00hgbotCheckin
2017-01-30 19:00hgbotNote Added: 0093946
2017-01-31 08:46caristuNote Deleted: 0093945
2017-01-31 08:46caristuNote Added: 0093952
2017-02-01 08:57caristuNote Added: 0093975
2017-02-01 08:57caristuReview Assigned To => alostale
2017-02-03 08:16alostaleStatusresolved => closed
2017-02-03 08:16alostaleFixed in Version => 3.0PR17Q2
2017-02-03 08:16alostaleRelationship replacedblocks 0035091
2017-02-03 08:18alostaleRelationship addedblocks 0035149
2017-02-03 08:36alostaleNote Added: 0094024
2017-02-03 08:36alostaleStatusclosed => new
2017-02-03 08:36alostaleResolutionfixed => open
2017-02-03 08:36alostaleFixed in Version3.0PR17Q2 =>
2017-02-03 09:15hgbotCheckin
2017-02-03 09:15hgbotNote Added: 0094028
2017-02-03 09:15caristuIssue Monitored: alostale
2017-02-03 09:15caristuStatusnew => scheduled
2017-02-03 09:16caristuStatusscheduled => resolved
2017-02-03 09:16caristuResolutionopen => fixed
2017-02-03 09:38alostaleNote Added: 0094030
2017-02-03 09:38alostaleStatusresolved => closed
2017-02-03 09:38alostaleFixed in Version => 3.0PR17Q2
2017-03-15 20:18hudsonbotCheckin
2017-03-15 20:18hudsonbotNote Added: 0095140
2017-03-15 20:18hudsonbotCheckin
2017-03-15 20:18hudsonbotNote Added: 0095141
2017-03-15 20:18hudsonbotCheckin
2017-03-15 20:18hudsonbotNote Added: 0095143
2017-03-15 20:18hudsonbotCheckin
2017-03-15 20:18hudsonbotNote Added: 0095144
2017-03-15 20:18hudsonbotCheckin
2017-03-15 20:18hudsonbotNote Added: 0095153
2018-10-17 09:15jarmendarizRelationship addedrelated to 0039459

Notes
(0093940)
hgbot   
2017-01-30 17:43   
Repository: erp/devel/pi
Changeset: 4e550fa86b96b2b5bedfc49db20647be8ea0576e
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jan 30 17:42:56 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4e550fa86b96b2b5bedfc49db20647be8ea0576e [^]

fixes bug 35074: Create a builder for BaseProcessActionHandler response actions

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/BaseProcessActionHandler.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
---
(0093941)
hgbot   
2017-01-30 17:51   
Repository: erp/devel/pi
Changeset: dae49ca8d9a0436bf5bbea7d013c76e117e1c55e
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jan 30 17:50:53 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/dae49ca8d9a0436bf5bbea7d013c76e117e1c55e [^]

related to bug 35074: Leave just useful information in javadoc

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
---
(0093944)
hgbot   
2017-01-30 18:38   
Repository: erp/devel/pi
Changeset: 30aa6e6fdf64da83e8f9d57f06a635cfdb11923c
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jan 30 18:37:31 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/30aa6e6fdf64da83e8f9d57f06a635cfdb11923c [^]

related to bug 35074: Added new method for the API
Overload openDirectTab method to use that action just by speficifying the tab ID and whether the action should wait.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
---
(0093946)
hgbot   
2017-01-30 19:00   
Repository: erp/devel/pi
Changeset: da2da786d436560ccbd1ab47371f3a8e621a9630
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jan 30 18:59:33 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/da2da786d436560ccbd1ab47371f3a8e621a9630 [^]

related to bug 35074: Updated argument types in javadoc

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
---
(0093952)
caristu   
2017-01-31 08:46   
Updated wiki page: http://wiki.openbravo.com/wiki/How_to_create_a_Standard_Process_Definition#Returning_Several_Actions [^]
(0093975)
caristu   
2017-02-01 08:57   
Use examples:

https://code.openbravo.com/erp/mods/org.openbravo.client.application.examples/rev/b44787df5330 [^]

https://code.openbravo.com/erp/mods/org.openbravo.platform.features/rev/4efe5ab58029 [^]
(0094024)
alostale   
2017-02-03 08:36   
reopening: see code review https://docs.google.com/spreadsheets/d/18l2biKWeG6iGDIPqO6VuYQ_TtP_6YxyQU4KSrPvQlJ8/edit#gid=0 [^]
(0094028)
hgbot   
2017-02-03 09:15   
Repository: erp/devel/pi
Changeset: c344d1fd052db9a3c064de646a497a72dc16f85b
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Feb 03 09:14:10 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c344d1fd052db9a3c064de646a497a72dc16f85b [^]

related to bug 35074: handle JSON exceptions inside ResponseActionsBuilder

ResponseActionsBuilder class itself should take care of handling the possible JSON exceptions, instead of exposing them by throwing the exceptions with its public methods. So, now we are handling the exceptions inside the class. Moreover, in practice this exceptions will never happen.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/ResponseActionsBuilder.java
---
(0094030)
alostale   
2017-02-03 09:38   
code reviewed
(0095140)
hudsonbot   
2017-03-15 20:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/54e102bef53e [^]
Maturity status: Test
(0095141)
hudsonbot   
2017-03-15 20:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/54e102bef53e [^]
Maturity status: Test
(0095143)
hudsonbot   
2017-03-15 20:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/54e102bef53e [^]
Maturity status: Test
(0095144)
hudsonbot   
2017-03-15 20:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/54e102bef53e [^]
Maturity status: Test
(0095153)
hudsonbot   
2017-03-15 20:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/54e102bef53e [^]
Maturity status: Test