You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Environment
XWiki 14.4.3
File Manager Pro 2.5.4
The text was updated successfully, but these errors were encountered:
slauriere
changed the title
Page with DriveClass object fires error when used in a display macro
Drive page fires error when used in a display macro
Sep 6, 2022
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
The text was updated successfully, but these errors were encountered: