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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010418
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-08-27 12:072009-10-06 11:53
ReportergorkaionView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version2.50MP6
StatusclosedFix in branchFixed in SCM revision2c5ea17a55e0
ProjectionnoneETAnoneTarget Version2.50MP6
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010418: Project selector inconsistent behavior with organization security

DescriptionThe project selector shows all the projects not taking into account the organization of the record that is being editing.

But when the key is typed in the field and the enter key is pressed the query that searches for the project it does.

So, it can happen the case that you type the key and press enter. And the popup gets open with just one project in the list, when the expected behavior would be to automatically select that only project.
Steps To ReproduceCreate a multiphase project in organization A. you can also change the organization of an existing one (I tested it with the riley project).

go to sales order and start filling a new one. Set the header to organization B, or another one that it is not in the natural tree of A.

In the project field type the key of the created/modified project and press enter.

The popup opens showing only your project.

Press cancel and change the organization of the sales order to A.

Type again the key of the project and press enter.

Notice that this time the project is automatically selected and the popup closed.
Proposed SolutionThe organization security should also be properly applied in the query of the grid so only projects in the natural tree of the record are shown, as it happens when a drop-down is used instead of the selector.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00106542.50MP7 closedalostale Business Partner and Product selectors inconsistent behavior with organization security 

-  Notes
(0019251)
rafaroda (developer)
2009-08-28 12:17

The business partner selector is suffering for the same issue.
1) Change business partner Millman to organization B.
2) Create a Sales Order in organization A.
3) Type "mill" and press enter key.
4) Selector remains open with Millman record displaying: WRONG

This is not happening in the product selector (but the behaviour is wrong anyway).
1) Change product Grand Beer to organization B.
2) Go to the lines of the previous Sales Order in organization A.
3) Type "bee" and press enter key.
4) Selector is automatically closed and Grand Beer is selected: WRONG
(0020102)
rafaroda (developer)
2009-09-16 06:33

Priority upgraded to Immediate since 2.50 MP6 freezing is happening on Friday 18/09.
(0020135)
hgbot (developer)
2009-09-17 12:11

Repository: erp/devel/pi
Changeset: 5308f2ed4b1ca43e1202ff89be1ac5acbbcc4d72
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Sep 17 12:11:29 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5308f2ed4b1ca43e1202ff89be1ac5acbbcc4d72 [^]

fixed bug 0010418: Project selector inconsistent behavior with organization security

---
M src/org/openbravo/erpCommon/info/Project.java
---
(0020182)
sureshbabu (reporter)
2009-09-18 09:04

Hi Alostale,

I changed the organization of Multiphase project (Riley)
Then i moved to sales order, created a new sales order by clicking new
Then i enter project key(Riley) in the project field and pressed enter
Project window opened without any record that's right but when i clicked the search button in the Project selector window, the project Riley appears which is wrong.
(0020260)
hgbot (developer)
2009-09-22 11:11

Repository: erp/devel/pi
Changeset: 2c5ea17a55e02517c582bf03e6cdd4970b7bd1ef
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Sep 22 11:10:42 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2c5ea17a55e02517c582bf03e6cdd4970b7bd1ef [^]

Fixed 10418: Fix organisation filter behavior in project selector
By not resetting ad_org_id filter when clicking search, but only
when entering the selector via the DEFAULT or KEY actions

---
M src/org/openbravo/erpCommon/info/Project.java
---
(0020266)
psarobe (manager)
2009-09-22 12:32

Tested working fine
(0020477)
hgbot (developer)
2009-09-29 14:12

Repository: erp/devel/pi-pageddatagrid
Changeset: 5308f2ed4b1ca43e1202ff89be1ac5acbbcc4d72
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Sep 17 12:11:29 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/5308f2ed4b1ca43e1202ff89be1ac5acbbcc4d72 [^]

fixed bug 0010418: Project selector inconsistent behavior with organization security

---
M src/org/openbravo/erpCommon/info/Project.java
---
(0020493)
hgbot (developer)
2009-09-29 14:14

Repository: erp/devel/pi-pageddatagrid
Changeset: 2c5ea17a55e02517c582bf03e6cdd4970b7bd1ef
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Sep 22 11:10:42 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/2c5ea17a55e02517c582bf03e6cdd4970b7bd1ef [^]

Fixed 10418: Fix organisation filter behavior in project selector
By not resetting ad_org_id filter when clicking search, but only
when entering the selector via the DEFAULT or KEY actions

---
M src/org/openbravo/erpCommon/info/Project.java
---
(0020773)
psarobe (manager)
2009-10-06 11:53

Closed again because hudson has reopened without no reason

- Issue History
Date Modified Username Field Change
2009-08-27 12:07 gorkaion New Issue
2009-08-27 12:07 gorkaion Assigned To => rafaroda
2009-08-28 12:17 rafaroda Note Added: 0019251
2009-08-28 12:17 rafaroda Assigned To rafaroda => iperdomo
2009-08-28 12:17 rafaroda Priority immediate => urgent
2009-08-28 12:17 rafaroda Status new => scheduled
2009-08-28 12:17 rafaroda Category 08. Project and service management => A. Platform
2009-08-28 12:17 rafaroda version => 2.50
2009-08-28 12:17 rafaroda Steps to Reproduce Updated
2009-08-28 12:18 rafaroda Issue Monitored: rafaroda
2009-09-16 06:33 rafaroda Note Added: 0020102
2009-09-16 06:33 rafaroda Priority urgent => immediate
2009-09-16 06:33 rafaroda Target Version => 2.50MP6
2009-09-16 12:19 iperdomo Assigned To iperdomo => alostale
2009-09-17 12:11 hgbot Checkin
2009-09-17 12:11 hgbot Note Added: 0020135
2009-09-17 12:11 hgbot Status scheduled => resolved
2009-09-17 12:11 hgbot Resolution open => fixed
2009-09-17 12:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5308f2ed4b1ca43e1202ff89be1ac5acbbcc4d72 [^]
2009-09-18 09:04 sureshbabu Status resolved => new
2009-09-18 09:04 sureshbabu Resolution fixed => open
2009-09-18 09:04 sureshbabu Note Added: 0020182
2009-09-18 09:18 rafaroda Relationship added related to 0010654
2009-09-18 09:18 rafaroda Status new => scheduled
2009-09-22 11:11 hgbot Checkin
2009-09-22 11:11 hgbot Note Added: 0020260
2009-09-22 11:11 hgbot Status scheduled => resolved
2009-09-22 11:11 hgbot Resolution open => fixed
2009-09-22 11:11 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/5308f2ed4b1ca43e1202ff89be1ac5acbbcc4d72 [^] => http://code.openbravo.com/erp/devel/pi/rev/2c5ea17a55e02517c582bf03e6cdd4970b7bd1ef [^]
2009-09-22 12:32 psarobe Status resolved => closed
2009-09-22 12:32 psarobe Note Added: 0020266
2009-09-22 12:32 psarobe Fixed in Version => 2.50MP6
2009-09-23 00:00 anonymous sf_bug_id 0 => 2864614
2009-09-29 14:12 hgbot Checkin
2009-09-29 14:12 hgbot Note Added: 0020477
2009-09-29 14:12 hgbot Status closed => resolved
2009-09-29 14:12 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/2c5ea17a55e02517c582bf03e6cdd4970b7bd1ef [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/5308f2ed4b1ca43e1202ff89be1ac5acbbcc4d72 [^]
2009-09-29 14:14 hgbot Checkin
2009-09-29 14:14 hgbot Note Added: 0020493
2009-09-29 14:14 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/5308f2ed4b1ca43e1202ff89be1ac5acbbcc4d72 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/2c5ea17a55e02517c582bf03e6cdd4970b7bd1ef [^]
2009-10-06 11:53 psarobe Status resolved => closed
2009-10-06 11:53 psarobe Note Added: 0020773


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker