Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2015-03-12 15:452015-11-30 11:01
ReportershuehnerView Statuspublic 
Assigned Tocaristu 
PrioritynormalResolutionfixedFixed in Version3.0PR16Q1
StatusclosedFix in branchFixed in SCM revision67bff0d741de
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0029259: WARN: Datasource request with targetRecordId but without directNavigation detected when reloading Sales Invoice form view

DescriptionI am able to trigger this warning in the log constantly using the steps written below.

Warning text:
2015-03-12 15:42:23,639 [ajp-localhost%2F127.0.0.1-8809-8] WARN org.openbravo.service.json.DefaultJsonDataService - Datasource request with targetRecordId but without directNavigation detected. This type of requests should be avoided because they result in a query that performs poorly. Parameters: _componentId:isc_OBViewGrid_0
_where:e.salesTransaction=true and e.documentStatus <> 'TEMP'
Steps To
pi_pg context
Open Window: Sales Invoice
Open a existing row in form view
Now press F5 to reload browser tab

Observe warning in log
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0025811 closedAugustoMauch unnecessary request on grid refresh 
related to defect 0029025 closedcaristu In maximized view, the query-list widgets doesn't load the data when it refreshed the browser. 
related to defect 0028321 closedcaristu Request without pagination when refreshing the grid 
related to defect 0031434 closedcaristu Error thrown when refreshing the grid after canceling the creation of a record in a child tab 

-  Notes
hgbot (developer)
2015-11-24 09:40

Repository: erp/devel/pi
Changeset: 67bff0d741ded8caecccb0c228d44e62128e06cc
Author: Carlos Aristu <carlos.aristu <at>>
Date: Tue Nov 24 09:37:08 2015 +0100
URL: [^]

fixes issue 29259: Request with targetRecordId but without directNavigation

After pressing F5, it was not existing any mechanism to set the directNavigation parameter when refreshing the window. Besides, when closing the form view, the information of the record opened in form view (targetTabId and targetRecordId) was not being deleted from the URL.

Now, after closing the form view, that information is deleted from the URL. This way, if we refresh the window and that information is present in the URL, it means that the request must be done as direct navigation.

M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
hudsonbot (developer)
2015-11-24 17:27

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test
alostale (developer)
2015-11-30 11:01

code reviewed

-Warn is not shown in the log anymore
-After refreshing:
  -Tab is opened in form view with the previously record selected
  -When switching to grid view, this record is prefiltered not showing the rest of the grid, this behavior is correct preventing potentially non slow query

- Issue History
Date Modified Username Field Change
2015-03-12 15:45 shuehner New Issue
2015-03-12 15:45 shuehner Assigned To => AugustoMauch
2015-03-12 15:45 shuehner Modules => Core
2015-03-12 15:45 shuehner Triggers an Emergency Pack => No
2015-03-12 15:46 alostale Tag Attached: Performance
2015-03-12 15:47 alostale Priority normal => urgent
2015-03-12 15:47 alostale Status new => acknowledged
2015-03-17 14:37 alostale Assigned To AugustoMauch => platform
2015-11-11 11:37 alostale Priority urgent => normal
2015-11-11 12:51 alostale Relationship added related to 0028321
2015-11-16 12:45 alostale Relationship added related to 0031434
2015-11-23 17:54 caristu Relationship added related to 0025811
2015-11-23 17:54 caristu Relationship added related to 0029025
2015-11-23 19:34 caristu Assigned To platform => caristu
2015-11-23 19:34 caristu Status acknowledged => scheduled
2015-11-24 09:40 hgbot Checkin
2015-11-24 09:40 hgbot Note Added: 0082278
2015-11-24 09:40 hgbot Status scheduled => resolved
2015-11-24 09:40 hgbot Resolution open => fixed
2015-11-24 09:40 hgbot Fixed in SCM revision => [^]
2015-11-24 09:40 caristu Review Assigned To => alostale
2015-11-24 09:40 caristu Issue Monitored: alostale
2015-11-24 17:27 hudsonbot Checkin
2015-11-24 17:27 hudsonbot Note Added: 0082305
2015-11-30 11:01 alostale Note Added: 0082465
2015-11-30 11:01 alostale Status resolved => closed
2015-11-30 11:01 alostale Fixed in Version => 3.0PR16Q1

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker