#2743 closed defect (fixed)
handle the case of a activity without metadata
Reported by: | godiard | Owned by: | erikos |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | |
Component: | Sugar | Version: | Unspecified |
Severity: | Unspecified | Keywords: | |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Unconfirmed |
Description
Test case:
Download Hello World activity.
http://activities.sugarlabs.org/es-ES/sugar/addon/4418
Install it, the activity starts ok.
Modify the line:
activity.Activity.init(self, handle)
to
activity.Activity.init(self, handle, False)
The activity does not start.
Attachments (1)
Change History (7)
Changed 13 years ago by godiard
comment:1 Changed 13 years ago by erikos
comment:2 Changed 13 years ago by erikos
- Summary changed from The activity icon does not handle the case of a activity without metadata. to handle the case of a activity without metadata
comment:3 Changed 12 years ago by erikos
- Keywords 11.2.0 removed
comment:4 Changed 10 years ago by dnarvaez
- Component changed from sugar-toolkit to Sugar
comment:5 Changed 10 years ago by dnarvaez
- Resolution set to fixed
- Status changed from new to closed
Seems fixed
Note: See
TracTickets for help on using
tickets.
This does fix the issue for the 'ActivityToolbarButton' but the 'ActivityButton' does still not work when try to create an activity without metadata like the example from Gonzalo above.
I tried to fix the other part with doing:
But we keep on failing like:
Not sure what would be the best for stateless activities (yet). Let's keep this open for further thoughts.