Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Component/s: Portfolio API
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
Description
getting
No common formats between any available portfolio plugin and the calling location forum_portfolio_caller
- line 240 of lib/portfoliolib.php: call to debugging()
- line 3481 of mod/forum/lib.php: call to portfolio_add_button->to_html()
- line 5815 of mod/forum/lib.php: call to forum_print_post()
- line 239 of mod/forum/discuss.php: call to forum_print_discussion()
when only picasa enabled in forum posts - I suppose it would be better to show this as a real warning on configuration pages instead of debug info in each forum post
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-30195 | Export forum discussion without attachments to google docs portfolio |
|
|
|
How do you think it should be done as a warning on configuration pages? There is no "registry" of which formats are supported by which places in Moodle, because it is dependant on the exact content at export time.
A forum post with an attachment of type 'image' can be exported to picassa, a pure forum post cannot. You can't really detect every single possible content type available for export and display to the admin user, and even if you could it wouldn't be any good because users would still try and export things that weren't supported.
What we could do is display a warning to say something fuzzy like, "this plugin only supports a narrow range of formats, are you sure you want to enable it"
Also, remember that while you're seeing the debug message, normal users just wouldn't be offered the option to do the export when there's no cross over in available formats.