Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029602Openbravo ERPA. Platformpublic2015-04-15 17:082015-06-04 11:18
VictorVillar 
inigosanchez 
highminoralways
closedfixed 
5
pi 
3.0PR15Q33.0PR15Q3 
alostale
Core
No
0029602: A Window should be read only when is assigned with a table defined as view
A Window should be read only when is assigned with a table defined as view
As System Administrator,
  Go to Tables and Columns window,
     select the m_product_category and define it as a View.
Compile.

As Group Admin role,
  Go to Product Category window:
     Try to create and save a new register.
You receive the following error message: Unknown entity org.openbravo.model.common.plm ProductCategory
No tags attached.
? FixIssue29602.export (1,869) 2015-05-27 16:30
https://issues.openbravo.com/file_download.php?file_id=8129&type=bug
Issue History
2015-04-15 17:08VictorVillarNew Issue
2015-04-15 17:08VictorVillarAssigned To => platform
2015-04-15 17:08VictorVillarModules => Core
2015-04-15 17:08VictorVillarResolution time => 1432504800
2015-04-15 17:08VictorVillarTriggers an Emergency Pack => No
2015-04-15 17:08VictorVillarIssue Monitored: networkb
2015-04-16 08:31alostaleStatusnew => acknowledged
2015-05-26 09:43alostaleStatusacknowledged => scheduled
2015-05-26 09:43alostaleAssigned Toplatform => NaroaIriarte
2015-05-26 13:16inigosanchezAssigned ToNaroaIriarte => inigosanchez
2015-05-27 16:30inigosanchezFile Added: FixIssue29602.export
2015-05-27 16:30inigosanchezNote Added: 0077824
2015-05-31 19:48hgbotCheckin
2015-05-31 19:48hgbotNote Added: 0077907
2015-06-01 09:23inigosanchezIssue Monitored: alostale
2015-06-01 09:24inigosanchezReview Assigned To => alostale
2015-06-01 09:25hgbotCheckin
2015-06-01 09:25hgbotNote Added: 0077911
2015-06-01 09:25hgbotStatusscheduled => resolved
2015-06-01 09:25hgbotResolutionopen => fixed
2015-06-01 09:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/099550fa4baade9724bd4477e09e5f4d6c80092f [^]
2015-06-01 13:10alostaleNote Added: 0077939
2015-06-01 13:10alostaleStatusresolved => new
2015-06-01 13:10alostaleResolutionfixed => open
2015-06-01 13:48hgbotCheckin
2015-06-01 13:48hgbotNote Added: 0077945
2015-06-01 13:48hgbotStatusnew => resolved
2015-06-01 13:48hgbotResolutionopen => fixed
2015-06-01 13:48hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/099550fa4baade9724bd4477e09e5f4d6c80092f [^] => http://code.openbravo.com/erp/devel/pi/rev/8721a7b97a6b759e23e7b1947fb75ab96c6f0584 [^]
2015-06-01 17:32hgbotCheckin
2015-06-01 17:32hgbotNote Added: 0077950
2015-06-02 03:42hudsonbotCheckin
2015-06-02 03:42hudsonbotNote Added: 0077960
2015-06-02 03:42hudsonbotCheckin
2015-06-02 03:42hudsonbotNote Added: 0077961
2015-06-02 03:42hudsonbotCheckin
2015-06-02 03:42hudsonbotNote Added: 0077967
2015-06-02 03:42hudsonbotCheckin
2015-06-02 03:42hudsonbotNote Added: 0077968
2015-06-04 11:18alostaleNote Added: 0078054
2015-06-04 11:18alostaleStatusresolved => closed
2015-06-04 11:18alostaleFixed in Version => 3.0PR15Q3

Notes
(0077824)
inigosanchez   
2015-05-27 16:30   
Attached file is the solution of the issue. Waiting for some feedback...
(0077907)
hgbot   
2015-05-31 19:48   
Repository: erp/devel/pi
Changeset: a6e31121bf797dc96d6f4248e12a065e950f444e
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Fri May 29 13:58:50 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a6e31121bf797dc96d6f4248e12a065e950f444e [^]

Related issue 29602: Changed UI pattern to read only mode in some tabs

The problem was that some tabs have their UI patterns wrong.They are
not set properly.

Now it have been solved by updating the UI Pattern to read only mode.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TAB.xml
---
(0077911)
hgbot   
2015-06-01 09:25   
Repository: erp/devel/pi
Changeset: 099550fa4baade9724bd4477e09e5f4d6c80092f
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Wed May 27 16:27:00 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/099550fa4baade9724bd4477e09e5f4d6c80092f [^]

Fixed issue 29602: window with table defined as view should be RO

The problem was that if you had a window that was assigned with a
table defined as view you could edited.

Now, it is taking into account this condition by checking windows
(Type window "M" and "T").

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java
---
(0077939)
alostale   
2015-06-01 13:10   
reopening due to code review: tab to check shouldn't be obtained from table's window but directly from the current window.
(0077945)
hgbot   
2015-06-01 13:48   
Repository: erp/devel/pi
Changeset: 8721a7b97a6b759e23e7b1947fb75ab96c6f0584
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Mon Jun 01 13:16:02 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8721a7b97a6b759e23e7b1947fb75ab96c6f0584 [^]

Fixed issue 29602: tab to check shouldn't be obtained from table's window

The problem was that tab to check shouldn't be obtained from table's window
but directly from the current window. Now it is taking into account.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java
---
(0077950)
hgbot   
2015-06-01 17:32   
Repository: erp/devel/pi
Changeset: d4644c111852bd65acc7ed2ae7eaaa5b32f8e582
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Mon Jun 01 17:30:38 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d4644c111852bd65acc7ed2ae7eaaa5b32f8e582 [^]

Related issue 29602:wrong position of parenthesis in a condition

The problem was the wrong position of parenthesis in a condicion. Now it has been solved
by updating position of parenthesis properly,

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java
---
(0077960)
hudsonbot   
2015-06-02 03:42   
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/14de467bd788 [^]
Maturity status: Test
(0077961)
hudsonbot   
2015-06-02 03:42   
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/14de467bd788 [^]
Maturity status: Test
(0077967)
hudsonbot   
2015-06-02 03:42   
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/14de467bd788 [^]
Maturity status: Test
(0077968)
hudsonbot   
2015-06-02 03:42   
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/14de467bd788 [^]
Maturity status: Test
(0078054)
alostale   
2015-06-04 11:18   
code reviewed

tested read only is correctly forcefully applied to views and preserved in other cases