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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030028
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2015-05-27 13:172015-05-28 09:52
ReporterumartirenaView Statuspublic 
Assigned Toplatform 
PriorityimmediateResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030028: Process Definitions don't refresh any more the grid behind after completion of the process

DescriptionProcess Definitions don't refresh any more the grid behind after completion of the process.

For Standard Process Definitions this could be fixed adding extra response action ('refreshGrid') to the json returned from action handler in order to fix this problem.

This doesn't work for Manual Process Definitions. This process definitions could be re-implemented to a Standard Process definitions to avoid this issue, but not in all cases for 2 reasons:
 * Manual defined as Multi-record. Currently not available for Standard Process Definitions.
 * Complex Manual Process Definition that would take big effort to re-implement on an standard.

This is the commit that implements the responseAction for Standard Process Definitions: https://code.openbravo.com/erp/devel/pi/rev/5c8dd0e358f25ec594c6ea6feaf2cd2efc533fca [^]
Steps To ReproduceAccess any window in Openbravo that implements a button with a Manual Process Definition.
Open it and click Done.
Realize that the grid is not refreshed.

Same happens for a Standard process definition that doesn't implement 'refreshGrid' responseAction.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0025811 closedAugustoMauch unnecessary request on grid refresh 

-  Notes
(0077854)
hgbot (developer)
2015-05-28 09:41

Repository: erp/mods/org.openbravo.client.application.examples
Changeset: 38b7542f505f0668eca5d9cdc0bcf844c0e714e3
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu May 28 09:41:31 2015 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application.examples/rev/38b7542f505f0668eca5d9cdc0bcf844c0e714e3 [^]

related to issue 30028: updated example module for manual process defintion

  Now it refreshes the whole grid instead of just last selected record

---
M web/org.openbravo.client.application.examples/js/example-manual-process.js
---
(0077855)
alostale (manager)
2015-05-28 09:52

This is not an issue but an intended behavioral change with performance improvement purposes.

See documentation explaining how to preserve all behavior: http://wiki.openbravo.com/wiki/How_to_create_a_Manual_UI_Process#JavaScript_Implementation [^]

- Issue History
Date Modified Username Field Change
2015-05-27 13:17 umartirena New Issue
2015-05-27 13:17 umartirena Assigned To => platform
2015-05-27 13:17 umartirena Modules => Core
2015-05-27 13:17 umartirena Regression level => Production - Confirmed Stable
2015-05-27 13:17 umartirena Regression date => 2014-11-10
2015-05-27 13:17 umartirena Regression introduced in release => 3.0PR15Q1
2015-05-27 13:17 umartirena Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/6ea2e99171afc48d83a3efe238f2058d867c5664 [^]
2015-05-27 13:17 umartirena Triggers an Emergency Pack => No
2015-05-28 09:41 hgbot Checkin
2015-05-28 09:41 hgbot Note Added: 0077854
2015-05-28 09:48 alostale Regression level Production - Confirmed Stable =>
2015-05-28 09:48 alostale Regression date 2014-11-10 =>
2015-05-28 09:48 alostale Regression introduced in release 3.0PR15Q1 =>
2015-05-28 09:48 alostale Regression introduced by commit https://code.openbravo.com/erp/devel/pi/rev/6ea2e99171afc48d83a3efe238f2058d867c5664 [^] =>
2015-05-28 09:50 alostale Relationship added related to 0025811
2015-05-28 09:52 alostale Note Added: 0077855
2015-05-28 09:52 alostale Status new => closed
2015-05-28 09:52 alostale Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker