CanDoExternalActivities.getExternalActivity() doesn't set external activity attributes

Bug #701786 reported by Douglas Cerna on 2011-01-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CanDo
Medium
Douglas Cerna

Bug Description

From the schooltool.gradebook.interfaces.IExternalActivities interface:

    def getExternalActivity(external_activity_id):
        """Return an IExternalActivity object matching the provided id.

        Return None if it cannot find an appropiate external activity"""

From the schooltool.gradebook.interfaces.IExternalActivity interface:

    source = zope.schema.TextLine(
        title=_(u"External Activity Source"),
        description=_(u"The registration name of the source"),
        required=True)

    external_activity_id = zope.schema.TextLine(
        title=_(u"External Activity ID"),
        description=_(u"A unique identifier for the external activity"),
        required=True)

However, when cando.skilldriver.skilldriver.CanDoExternalActivities.getExternalActivity finds a match for the provided id, it returns a IExternalActivity object with the 'source' and 'external_activity_id' attributes set to ""

Related branches

Changed in cando:
assignee: nobody → Douglas Cerna (replaceafill)
Changed in cando:
status: New → Fix Committed
Changed in cando:
milestone: none → 2010.12.1
status: Fix Committed → Fix Released
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers