Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.9.5, 2.0.3
-
Fix Version/s: 2.1, DEV Sprint 2.1
-
Component/s: Database activity module
-
Labels:None
-
Testing Instructions:
-
Affected Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_21_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-19864_database_excel_export -
Pull Master Diff URL:
Description
I'm not sure what Excel needs to have done in order to export the URL. It would be good to have both the URL and the text associated with it if autolink is selected. Currently the export function (defined in /mod/data/field/url/field.class.php) returns the text of the URL concatenated with a space and then the text of the field. If an introductory space is added then things work fine in Excel however it is not an active hyper link in the excel file at that point. I'll ask in the developer forum to see if anyone else has any insights and then work toward a patch. Peace - Anthony
I am attaching a couple of screenshots to show the error (
MDL-19864-orig.png) and then to show a temporary workaround that adds an initial space to the line which at least produces readable data as the function was defined to output originally. I wonder if we might be better served by putting the link in one column and the text in another. The down side to that approach is that some users may think that they have more fields. So as I think about this I prefer the idea of keeping it in one field. I also noticed the html entity produced in the text field and will create a separate issue to address that. Peace - AnthonyMDL-19864-orig.png) and then to show a temporary workaround that adds an initial space to the line which at least produces readable data as the function was defined to output originally. I wonder if we might be better served by putting the link in one column and the text in another. The down side to that approach is that some users may think that they have more fields. So as I think about this I prefer the idea of keeping it in one field. I also noticed the html entity produced in the text field and will create a separate issue to address that. Peace - Anthony