Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.3
-
Fix Version/s: 3.2
-
Component/s: Remote addons
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE
-
Fixed Branches:MOODLE_32_STABLE
-
Pull Master Diff URL:
-
Sprint:Moodle Mobile 3.2
Description
I'm not 100% sure if this is a bug, some missing documentation or just confusion my part but...
It appears remote addons can't use directives without triggering security issues.
Packaging up a module that works when not an addon appears to have issues when packaged.
Error: [$sce:insecurl] Blocked loading resource from url not allowed by $sceDelegate policy. URL: filesystem:http://localhost:8100/persistent/sites/05af9b4d326c0f5d15bcfd9a026aee74/filepool/remoteaddons/mod_hsuforum_mod_hsuforum/templates/discussionpost.html
That url is automatically transformed from ''addons/mod/hsuforum/templates/discussionpost.html' as part of the process of creating the remote addon. And the security settings don't seem to like it.
Attachments
Issue Links
- blocks
-
MOBILE-1895 remote addon build process bundles unit test files into addon.js
-
- Closed
-