For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
Issue
Search results seem to be caching when moving from one page to another. This would be fine but it’s not consistent.
Background
- Added 2 tabs to the portal, Assets & Exchange each has its own page
- Assets and Exchange page identical to standard find answers page except they have a customized AnswerSearchArea widget
- The customized AnswerSearchArea widgets are identical to the standard one except that the reportpage is set to the originating page (so search results stay on same page)
- Each AnswerSearchArea widget has a specific report assigned
- Each tab uses the navigationTab widget
- The Assets & Exchange tab use /p/<prod_id>/noIntercept/1 so that the correct product is pre-selected i.e. on Assets page Assets product is selected and uses the Assets report
- Our products are: Hub, Assets, & Exchange
Scenarios
1) Assets Tab -> Search -> Exchange Tab = Assets selected as product with 10 results (correct, search on Assets returns 10 results)
2) Exchange Tab -> Search -> Assets Tab = Exchange selected as product with 8 results (correct, search on Exchange returns 8 results)
3) Find Answers -> select Exchange as product, search -> Assets Tab = Exchange selected as product with 8 results (correct, search on Exchange returns 8 results)
4) Find Answers -> select Assets as product, search -> Exchange Tab = Assets selected as product with 10 results (correct, search on Assets returns 10 results)
5) Find Answers -> select Hub as product, search -> Assets Tab = Hub selected as product with 10 results (incorrect, search on Hub should return 258 results, as well the results shown are from the Assets report)
6) Find Answers -> select Hub as product, search -> Exchange Tab = Hub selected as product with 8 results (should be 258 results, as well the results shown are from the Exchange report)
Scenarios 1-4 are acceptable but 5 & 6 are not.
I would speculate that because the Assets and Exchange each have a report assigned to the AnswerSearchArea they use that when the Hub is selected as a product in a previous search.
Either the correct search results should be shown (258 if Hub is selected) or the proper product should be selected (i.e. on Assets page, if Asset report being displayed then Assets should be selected).
Alternatively, if the search cache could be cleared each time a tab is clicked that would be sufficient.
Comment
The search cache is cleared on each page hit.
The only time it is cached is when there are multiple widgets on a page using the same id and filters.
IE8 (which is in Beta) does seem to cache data when it shouldn't - but testing on firefox should be OK
Be the first to rate this
|
Sign in to rate this
Be the first to rate this
|
Sign in to rate this
Correct. Each search or report widget calls to report_model to get the correct information. Because of that we cache the data if possible to speed up the requests
Be the first to rate this
|
Sign in to rate this
Is there a way to manually clear this cached data for testing?
Be the first to rate this
|
Sign in to rate this
ftsai,
There is no official way to clear the cache.
Leif
Be the first to rate this
|
Sign in to rate this