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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008850
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajoralways2009-04-29 22:272009-06-06 00:00
ReporteriperdomoView Statuspublic 
Assigned Todbaz 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision7cdaabd7d150
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision053b794f5fb9 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008850: Errors in the Alert and Change Role links

Description* If you use the right-click on the Alert link, it triggers the link and you get the Alert Management page
* If you use the right-click on the 'Change role' link, it triggers the link and you get the Change Role popup

The real problem is that if you click the Alert link make a double request to backend and if you have Autosave enable it fails
Tags250MP1
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0008449 closediperdomo Autosave does not work when leaving the window via Alert,Role-change,Logout 

-  Notes
(0016027)
dbaz (developer)
2009-05-04 19:28

The calls are managed by

function menuUserOptions() {
  openServletNewWindow('DEFAULT', false, '../ad_forms/Role.html', 'ROLE', null, null, '460', '800');
  return true;
}

and

function menuAlerts() {
  openLink('../ad_forms/AlertManagement.html', 'appFrame');
  return true;
}


which are javascript functions of utils.js with a single call
(0016051)
dbaz (developer)
2009-05-05 13:16
edited on: 2009-05-05 13:16

Defining this simple counter to count each time function menuUserOptions() is called, that will display the count inside the alert text

var global_count = 0;
function menuUserOptions() {
  global_count++;
  document.getElementById('alertLink').innerHTML = global_count;
  openServletNewWindow('DEFAULT', false, '../ad_forms/Role.html', 'ROLE', null, null, '460', '800');
  return true;
}

we can see that there is no double call

(0016103)
hgbot (developer)
2009-05-06 15:20

Repository: erp/devel/pi
Changeset: 7cdaabd7d150a8b1fa78b7e5a4646c092c9e3564
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Wed May 06 15:17:14 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7cdaabd7d150a8b1fa78b7e5a4646c092c9e3564 [^]

Fixed bug 8850: Now right mouse click is not allowed in User Options and Alerts

---
M src/org/openbravo/erpCommon/utility/VerticalMenu.html
---
(0016974)
sureshbabu (reporter)
2009-06-05 07:37

Tested working fine

- Issue History
Date Modified Username Field Change
2009-04-29 22:27 iperdomo New Issue
2009-04-29 22:27 iperdomo Assigned To => dbaz
2009-04-29 22:27 iperdomo Regression testing => No
2009-04-29 22:27 iperdomo Status new => scheduled
2009-04-29 22:27 iperdomo fix_in_branch => pi
2009-04-29 22:29 iperdomo Relationship added blocks 0008449
2009-04-29 22:30 iperdomo Tag Attached: 250MP1
2009-05-04 18:45 iperdomo Assigned To dbaz => iperdomo
2009-05-04 19:28 dbaz Note Added: 0016027
2009-05-05 12:52 iperdomo Assigned To iperdomo => dbaz
2009-05-05 13:16 dbaz Note Added: 0016051
2009-05-05 13:16 dbaz Note Edited: 0016051
2009-05-05 13:16 dbaz Assigned To dbaz => iperdomo
2009-05-06 15:19 dbaz Assigned To iperdomo => dbaz
2009-05-06 15:20 hgbot Checkin
2009-05-06 15:20 hgbot Note Added: 0016103
2009-05-06 15:20 hgbot Status scheduled => resolved
2009-05-06 15:20 hgbot Resolution open => fixed
2009-05-06 15:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7cdaabd7d150a8b1fa78b7e5a4646c092c9e3564 [^]
2009-06-05 07:37 sureshbabu Status resolved => closed
2009-06-05 07:37 sureshbabu Note Added: 0016974
2009-06-05 07:37 sureshbabu Fixed in Version => pi
2009-06-06 00:00 anonymous sf_bug_id 0 => 2802030


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker