details:   https://code.openbravo.com/erp/devel/pi/rev/7b0840da8515
changeset: 18172:7b0840da8515
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Tue Oct 09 11:00:46 2012 +0200
summary:   Fixes issue 21817: SQL comments are applied to the proper columns

There was a problem in postgreSQL that happened when a table was created and 
one of its columns was removed and created again. The ordinal position of the 
columns in that case is not consecute, i.e.

Before removing the column:
Ordinal position    Name
1                   Column1
2                   Column2
3                   Column3

After removing the column Column2
Ordinal position    Name
1                   Column1
3                   Column3

After adding the column Column2 again
Ordinal position    Name
1                   Column1
3                   Column3
4                   Column2

When the comments are applied to the columns, instead of using the ordinal 
position, the index (1..number of columns) was used to determine which comment 
belongs to each column. This resulted that the comments were applied to the 
wrong columns. If instead of using the index the ordinal position is used, the 
problem is solved.

details:   https://code.openbravo.com/erp/devel/pi/rev/3a5e020f0c97
changeset: 18173:3a5e020f0c97
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Tue Oct 09 13:20:36 2012 +0200
summary:   Fixes issue 21741: P&E return messages are shown in the process 
owner view

Before the fix, the messages returned by the P&E windows were shown in the 
header view, but it should be shown in the view to which the process belongs to.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
 |    2 +-
 src-db/database/lib/dbsourcemanager.jar                                        
                                      |    0 
 2 files changed, 1 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 68ef470f54c0 -r 3a5e020f0c97 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
      Tue Oct 09 12:15:28 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-view.js
      Tue Oct 09 13:20:36 2012 +0200
@@ -199,7 +199,7 @@
     var window = this.parentWindow;
 
     if (message) {
-      window.view.messageBar.setMessage(message.severity, message.text);
+      this.buttonOwnerView.messageBar.setMessage(message.severity, 
message.text);
     }
 
     this.buttonOwnerView.setAsActiveView();
diff -r 68ef470f54c0 -r 3a5e020f0c97 src-db/database/lib/dbsourcemanager.jar
Binary file src-db/database/lib/dbsourcemanager.jar has changed

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to