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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020870
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2012-06-26 13:392012-07-28 01:23
ReportercaristuView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionfixedFixed in Version3.0MP14
StatusclosedFix in branchFixed in SCM revision7d6793ea45f1
ProjectionnoneETAnoneTarget Version3.0MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP11SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020870: Error when adding widget with admin others

DescriptionWhen adding a widget with parameters, with the Admin Others utility Openbravo returns the following error: "Can't process parameters without object instance id"
Steps To Reproduce1) In workspace, use the Admin Others Option. Select the role level and choose a role.

2) Add any widget with parameters, for example the Pending Goods Receipt Widget.

3) Fill the fields and click Save
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2012-06-26 14:05:51.png [^] (290,464 bytes) 2012-06-26 14:06

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00213533.0MP14 closedAugustoMauch When a widget has a mandatory parameter without default value, it's not shown in the "Add widgets" combo 
related to defect 00257413.0PR14Q2 closedalostale Impossible to add the widget "User defined HTML Widget" 

-  Notes
(0050097)
alostale (manager)
2012-06-26 16:35

Downgrading priority as it is not a regression: it can be reproduced in mp6.1.
(0050566)
guilleaer (developer)
2012-07-13 14:14

Note:
While I was working on fix this issue another issue related to Admin Others utility has appears. This new issue is reported here:

https://issues.openbravo.com/view.php?id=21071 [^]

Related to this issue:
I was working to solve it but I leave it to work in the previous issue. The problem is raised when the parameters of the widget are set, because the widget doesn't have a widget instance id. The callback to the server to set the parameters of the widget shouldn't be done until the button publish of the left dialog is clicked.
In this moment, the server will save the widget instance an their parameters.
(0050935)
hgbot (developer)
2012-07-27 12:25

Repository: erp/devel/pi
Changeset: 7d6793ea45f158c6415b97648a4c3a28887419d7
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jul 27 12:23:55 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7d6793ea45f158c6415b97648a4c3a28887419d7 [^]

Fixed issue 20870: Admin others works well when adding a widget with params
In Admin others, it is not supported to add widgets with at least one parameter which is mandatory and DefaultValue==null. If we try to save parameters when we are adding widgets in admin others, the widget have to be in the database to update its parameters, but the widget won't be in database until we press Publish button.
In order to avoid this problem, widgets with parameters are displayed in content_mode and the widget to add list does not show widgets with at least one parameter which is mandatory and DefaultValue==null.

---
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponent.java
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-widget.js
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
---
(0050944)
AugustoMauch (manager)
2012-07-27 13:52

Code reviewed and verified in pi@f119181062af
(0050961)
hudsonbot (developer)
2012-07-28 01:23

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/c6491bd9e10b [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-06-26 13:39 caristu New Issue
2012-06-26 13:39 caristu Assigned To => mirurita
2012-06-26 13:39 caristu Modules => Core
2012-06-26 13:39 caristu Resolution time => 1346882400
2012-06-26 13:40 caristu Tag Attached: Regression
2012-06-26 13:40 caristu Issue Monitored: networkb
2012-06-26 13:55 plujan Regression level => Production - QA Approved
2012-06-26 13:57 plujan Issue Monitored: plujan
2012-06-26 14:06 caristu File Added: Screenshot from 2012-06-26 14:05:51.png
2012-06-26 14:10 mirurita Assigned To mirurita => alostale
2012-06-26 16:03 plujan Tag Detached: Regression
2012-06-26 16:03 plujan Regression level Production - QA Approved =>
2012-06-26 16:35 alostale Note Added: 0050097
2012-06-26 16:35 alostale Priority immediate => urgent
2012-07-12 15:27 guilleaer Assigned To alostale => guilleaer
2012-07-13 14:14 guilleaer Note Added: 0050566
2012-07-13 14:15 guilleaer Assigned To guilleaer => AugustoMauch
2012-07-27 12:25 hgbot Checkin
2012-07-27 12:25 hgbot Note Added: 0050935
2012-07-27 12:25 hgbot Status new => resolved
2012-07-27 12:25 hgbot Resolution open => fixed
2012-07-27 12:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7d6793ea45f158c6415b97648a4c3a28887419d7 [^]
2012-07-27 13:52 AugustoMauch Note Added: 0050944
2012-07-27 13:52 AugustoMauch Status resolved => closed
2012-07-27 13:52 AugustoMauch Fixed in Version => 3.0MP14
2012-07-28 01:23 hudsonbot Checkin
2012-07-28 01:23 hudsonbot Note Added: 0050961
2012-08-13 13:29 AugustoMauch Relationship added related to 0021353
2014-02-18 15:27 alostale Relationship added related to 0025741


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker