Hi,
I have installed 7.x-4.0 beta 2, and also installed the depend modules, Charts (charts, charts_google), Date Popup (date_popup) and Views Date Format SQL (views_date_format_sql).

However, when viewing the dashboard its empty - there is not information showing.

See attached please.

Any help would be much appreciated.

Thanks

Comments

crimsondryad’s picture

I don't want to hijack your issue. In my case, the problem with not seeing report totals was that the person viewing the commerce reports must have the "View Any Order" permission. For our organization, that means that Marketing groups who don't necessarily need access to PII now must be able to see full order data.

The preferred behavior would be to have a permission for "View aggregated order data" that would allow folks without the "View Any Order" permission to have access to the Commerce Reports.

mglaman’s picture

crimsondryad, thanks for the insight! This is highly likely that entity access permissions are preventing Views from returning out. The alternative is to disable SQL rewriting so that the "I can access this view" permission is good enough.

I think it's safe to disable rewriting, rely on "Access commerce reports."

mglaman’s picture

kylahuff, also do any of the other views work?

mglaman’s picture

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new7.24 KB

Here is a patch which tests and proves issue in #1. Test will fail. We need to get this to pass.

Status: Needs review » Needs work

The last submitted patch, 5: can_t_see_any_information-2501859-5.patch, failed testing.

mglaman’s picture

Status: Needs work » Needs review
StatusFileSize
new11.02 KB

Patch adds disabling of rewrite. This means that data within the view is only access checked by the main access plugin - the permission. This works fine when placed or viewed normally, but if manually rendering a view or block you would need to perform proper check of $view->access().

Status: Needs review » Needs work

The last submitted patch, 7: can_t_see_any_information-2501859-7.patch, failed testing.

mglaman’s picture

Status: Needs work » Needs review
StatusFileSize
new11.02 KB

Trying patch from other computer. For some reason test bot does not like my laptop's patches.

Status: Needs review » Needs work

The last submitted patch, 9: can_t_see_any_information-2501859-9.patch, failed testing.