Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0017913 | Openbravo ERP | A. Platform | public | 2011-07-06 10:02 | 2011-07-13 10:52 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | urgent | Severity | major | Reproducibility | random |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 3.0MP0 | |
Target Version | 3.0MP2 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | JSON Datasource |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0017913: Navigation to blank tab |
Description | Direct navigation to related objects results in a blank page in some occasions.
This can happen when the number of records in the destiny table is big enough and the default sorting column for that tab does not do a deterministic order.
When doing the navigation, it is not only loaded the selected record but a set of records that must contain the selected one. This is done to be able to switch to grid view quickly. In order to do it 2 queries are executed to DB: 1st one to determine the position of the selected record and 2nd one to get the actual data limiting the results to a number (100) of records that includes the selected one.
In the case described above, it can happen 2nd query doesn't order in the same way 1st one does. If this happens and the 2nd query does not include selected record, tab is shown blank.
Workaround: when this happens it can be easily solved by using a sort column (Record Sort No. in tab) one which is unique (i.e. document no) so it makes the order deterministic. |
Steps To Reproduce | Can be reproduced in ob@ob3 navigating from SO 10000528 to its contract |
Proposed Solution | Always append record id to the order by clause |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0017925 | 3.0MP2 | closed | alostale | Navigation to blank tab having inactive records |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-07-06 10:02 | alostale | New Issue | |
2011-07-06 10:02 | alostale | Assigned To | => alostale |
2011-07-06 10:02 | alostale | Modules | => JSON Datasource |
2011-07-06 10:31 | alostale | Description Updated | bug_revision_view_page.php?rev_id=2361#r2361 |
2011-07-06 10:31 | alostale | Proposed Solution updated | |
2011-07-06 11:04 | hgbot | Checkin | |
2011-07-06 11:04 | hgbot | Note Added: 0038893 | |
2011-07-06 11:04 | hgbot | Status | new => resolved |
2011-07-06 11:04 | hgbot | Resolution | open => fixed |
2011-07-06 11:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/02f28176ed17911766685cdcbfef6e57d4e35e32 [^] |
2011-07-06 20:41 | hudsonbot | Checkin | |
2011-07-06 20:41 | hudsonbot | Note Added: 0038909 | |
2011-07-07 07:56 | alostale | Relationship added | related to 0017925 |
2011-07-13 10:52 | maite | Note Added: 0039032 | |
2011-07-13 10:52 | maite | Status | resolved => closed |