Create page Sandbox.MyPage.WebHome with some content and including the created Drive in a display macro, for example:
= Lorem ipsum =
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Venenatis lectus magna fringilla urna. Vitae nunc sed velit dignissim sodales ut. Nunc mi ipsum faucibus vitae aliquet nec ullamcorper sit. Velit dignissim sodales ut eu. Mauris commodo quis imperdiet massa tincidunt nunc pulvinar sapien. Molestie a iaculis at erat pellentesque adipiscing commodo elit. Erat pellentesque adipiscing commodo elit at imperdiet dui accumsan.
{{display reference="Sandbox.MyDrive.WebHome"/}}
Actual result
The Drive is not displayed correctly in MyPage: it displays message "No result" with a loading widget and contains no files, see capture below:
The browser JavaScript console contains the following error:
Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
oc@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:14:156
Yb@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:77:125
Yc/<@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:77:487
s@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:7:302
Yc@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:77:470
c@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:79:109
fd/f/<@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:112:276
$eval@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:126:84
$digest@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:123:195
$apply@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:126:362
l@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:81:422
O@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:86:52
wf/</w.onload@https://localhost:8080/xwiki/webjars/wiki%3Aabc/angularjs/1.3.8/angular.min.js?r=1:87:79
Steps to reproduce
Sandbox.MyDrive.WebHome
Sandbox.MyPage.WebHome
with some content and including the created Drive in a display macro, for example:Actual result
The Drive is not displayed correctly in MyPage: it displays message "No result" with a loading widget and contains no files, see capture below:
The browser JavaScript console contains the following error:
Environment