Closed UtkarshSiddhpura closed 1 year ago
Could you explain the problem? I can export an instance on my disk the reimport it.
var filters = [ { mimetype: "text/plain"}, ];
But when journalchooser.js
try to get the activity which exports "text/plain" type ,for styling and icon of that item.
var activity = activities[entry.metadata.activity]
//undefined
The metadata.activity "org.olpcfrance.Measure"
is not present in activities
array.
Okay got it. It's not a bug. When the Chart activity will be implemented we will associate CSV files to Chart activity so we could directly open CSV from the Journal. But you're right it will probably require some change in Measure activity too.
Importing the activity instance in journal dialog is not possible as it cant find activity "org.olpcfrance.Measure".
metadata:
https://github.com/llaske/sugarizer/blob/9630e2a2cbab435a65e2239bdac25b13a897a630/activities/Measure.activity/js/activity.js#L864
activity.info
https://github.com/llaske/sugarizer/blob/9630e2a2cbab435a65e2239bdac25b13a897a630/activities/Measure.activity/activity/activity.info#L4
activities.json
https://github.com/llaske/sugarizer/blob/9630e2a2cbab435a65e2239bdac25b13a897a630/activities.json#L58