anhnongdan / cBIMAX

Official source code for cBIMAX - the analytics system for CDN
0 stars 0 forks source link

[UI] Chart (sparkline on dataTable) doesn't work #30

Open anhnongdan opened 7 years ago

anhnongdan commented 7 years ago

image

anhnongdan commented 7 years ago

When click on Evolution icon on STD Piwik, there're 2 requests are sent to server.

screen shot 2017-08-17 at 11 15 27 pm screen shot 2017-08-17 at 11 16 14 pm

There're no request on cBimax, might be caused by missed JS script.

anhnongdan commented 7 years ago

Check open segment as well.

anhnongdan commented 7 years ago

Might have same root cause with #36

anhnongdan commented 7 years ago

URL:

cBimax before click Row Evolution: http://localhost/cBIMAX/src/index.php?module=CoreHome&action=index&date=2017-08-15&period=day&idSite=3#?idSite=3&period=day&date=2017-08-16&category=Dashboard_Dashboard&subcategory=1&popover=RowAction$3ARowEvolution$3AReferrers.getReferrerType$3A$257B$257D$3AWebsites

After RE on country: http://localhost/cBIMAX/src/index.php?module=CoreHome&action=index&date=2017-08-15&period=day&idSite=3#?idSite=3&period=day&date=2017-08-15&category=Dashboard_Dashboard&subcategory=1&popover=RowAction$3ARowEvolution$3AUserCountry.getCountry$3A$257B$2522action$2522$253A$2522getMultiRowEvolutionPopover$2522$257D$3A$40Unknown$2C$40Vietnam

After RE on Website Referrer: http://localhost/cBIMAX/src/index.php?module=CoreHome&action=index&date=2017-08-15&period=day&idSite=3#?idSite=3&period=day&date=2017-08-15&category=Dashboard_Dashboard&subcategory=1&popover=RowAction$3ARowEvolution$3AReferrers.getReferrerType$3A$257B$257D$3AWebsites

On Piwik before - and after: http://localhost/piwik_stable_3.0.1/index.php?module=CoreHome&action=index&date=2017-08-14&period=day&idSite=2#?idSite=2&period=day&date=2017-08-14&category=Dashboard_Dashboard&subcategory=1&popover= http://localhost/piwik_stable_3.0.1/index.php?module=CoreHome&action=index&date=2017-08-14&period=day&idSite=2#?idSite=2&period=day&date=2017-08-14&category=Dashboard_Dashboard&subcategory=1&popover=RowAction$3ARowEvolution$3AReferrers.getReferrerType$3A$257B$257D$3AWebsites

anhnongdan commented 7 years ago

Piwik: Copy page the URL with RE opened and paste to a new tab => RE opened in new tab. http://localhost/piwik_stable_3.0.1/index.php?module=CoreHome&action=index&date=2017-08-14&period=day&idSite=2#?idSite=2&period=day&date=2017-08-14&category=Dashboard_Dashboard&subcategory=1&popover=RowAction$3ARowEvolution$3AActions.getPageUrls$3A$257B$257D$3A$2524tk$2524

cBimax: replace the above URL with cBimax URL, RE doesn't open.

anhnongdan commented 7 years ago

Piwik called CoreHome's action: getRowEvolutionPopover to show the popover: DEBUG CoreHome[2017-08-21 10:52:01] [61b75] 2017-08-21 called CoreHome:getRowEvolutionPopover

cBimax doesn't call the function when click on RE