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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020145
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2012-03-29 09:312012-05-10 16:33
ReportermaiteView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionc7a40d5e4b41
ProjectionnoneETAnoneTarget Version3.0MP11
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

0020145: Should not be possible to delete Matched Invoices records

DescriptionShould not be possible to delete Matched Invoices records
Steps To ReproduceThe first thing is to put all modules not "in development":
1- As "Group Admin" go to window "Matched invoice" and verify that all is in "Read Only" mode.
2- Close the window.
3- Go to window "Purchase Invoice"
4- Select purchase invoice "FC/70002" and go to tab Lines and open the line in form view.
5- Open the space "Linked Items" and navigate to related "matched invoice".
6- See that you are able to edit and delete the "Matched Invoice" record.
7- Also if you go to grid view, you will see that you can delete all matched invoices
TagsRegression QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0017440 closedguilleaer Recent list shows '*' to create new for Tabs which have UIpattern 'read only' or 'single record' 
related to defect 0020160 closedalostale Read only windows are opened in edit mode when they are opened for the second time 
related to defect 0020153 closedalostale Incorrect linked items to inaccessible windows 

-  Notes
(0046884)
hgbot (developer)
2012-03-29 14:08

Repository: erp/devel/pi
Changeset: b42654f43606c25cad0e0842f699ba505743889d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 29 14:06:07 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b42654f43606c25cad0e0842f699ba505743889d [^]

fixed bug 20145: Linked items to RO tabs allow to add/delete records

  Added readOnly and singleRecod information to linked items open action
  in order to properly display toolbar.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-linked-items.js
M src/org/openbravo/erpCommon/utility/UsedByLink.java
M src/org/openbravo/erpCommon/utility/UsedByLink_data.xsql
---
(0046885)
alostale (manager)
2012-03-29 14:09

No regression risk added.

Test plan: described in steps to reproduce
(0046887)
alostale (manager)
2012-03-29 14:34

Also check windows that are have readonly access per role (not in UI) are shown as readonly when accessing through linked items.
(0046947)
guilleaer (developer)
2012-03-29 19:07

This bug is reported correctly but the reason of this behavior is not the way to open a Read Only window from linked items table.

There is an easier way to reproduce this problem:

With no in-development modules and just after been logged, open a read-only window (i.e. Matched Invoices) the toolbar buttons for adding and deleting rows will be enabled. Close the tab and open it again. This time, the buttons for adding and deleting rows will be enabled.

The fix that Asier has done does not prevent this problem to happen in this general scenario but is necessary and correct.
(0046948)
guilleaer (developer)
2012-03-29 20:06

New issue has been created https://issues.openbravo.com/view.php?id=20160 [^]
(0046962)
hgbot (developer)
2012-03-30 10:59

Repository: erp/devel/pi
Changeset: c7a40d5e4b41c7b8cb1d6da8484adf367c6dea09
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Mar 30 10:58:20 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c7a40d5e4b41c7b8cb1d6da8484adf367c6dea09 [^]

fixed bug 20160, fixed bug 20145: RO tab is set when reopening

  Caching WindowSettingsActionHandler response on first window open and reusing
  it in future openings.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js
---
(0046971)
guilleaer (developer)
2012-03-30 12:46

Code reviewed and tested in pi@028ac347cc43
(0047267)
hudsonbot (developer)
2012-04-02 06:13

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

Maturity status: Test
(0047283)
hudsonbot (developer)
2012-04-02 06:13

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-03-29 09:31 maite New Issue
2012-03-29 09:31 maite Assigned To => vmromanos
2012-03-29 09:31 maite Modules => Core
2012-03-29 09:33 maite Issue Monitored: networkb
2012-03-29 09:35 jonalegriaesarte Assigned To vmromanos => jonalegriaesarte
2012-03-29 09:37 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-03-29 10:24 jecharri Assigned To jecharri => alostale
2012-03-29 10:24 jecharri Category 03. Procurement management => A. Platform
2012-03-29 10:24 jecharri Steps to Reproduce Updated View Revisions
2012-03-29 14:03 alostale Relationship added related to 0017440
2012-03-29 14:08 hgbot Checkin
2012-03-29 14:08 hgbot Note Added: 0046884
2012-03-29 14:08 hgbot Status new => resolved
2012-03-29 14:08 hgbot Resolution open => fixed
2012-03-29 14:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b42654f43606c25cad0e0842f699ba505743889d [^]
2012-03-29 14:09 alostale Note Added: 0046885
2012-03-29 14:34 alostale Note Added: 0046887
2012-03-29 15:12 alostale Relationship added related to 0020153
2012-03-29 19:07 guilleaer Note Added: 0046947
2012-03-29 20:06 guilleaer Note Added: 0046948
2012-03-29 20:06 guilleaer Status resolved => new
2012-03-29 20:06 guilleaer Resolution fixed => open
2012-03-29 20:06 guilleaer Relationship added related to 0020160
2012-03-30 10:59 hgbot Checkin
2012-03-30 10:59 hgbot Note Added: 0046962
2012-03-30 10:59 hgbot Status new => resolved
2012-03-30 10:59 hgbot Resolution open => fixed
2012-03-30 10:59 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/b42654f43606c25cad0e0842f699ba505743889d [^] => http://code.openbravo.com/erp/devel/pi/rev/c7a40d5e4b41c7b8cb1d6da8484adf367c6dea09 [^]
2012-03-30 12:46 guilleaer Note Added: 0046971
2012-03-30 12:46 guilleaer Status resolved => closed
2012-03-30 12:46 guilleaer Fixed in Version => pi
2012-04-02 06:13 hudsonbot Checkin
2012-04-02 06:13 hudsonbot Note Added: 0047267
2012-04-02 06:13 hudsonbot Checkin
2012-04-02 06:13 hudsonbot Note Added: 0047283
2012-05-10 16:33 plujan Tag Attached: Regression QA


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker