You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An XBlock should never directly access StudentModule models directly. Anything you need from the modulestore or form the StudentModule models should be available through XBlock services, or we should create new XBlock Services to safely expose what's needed.
The username should be available now. An XBlock user service was created recently and could be leveraged here. It appears the module state is being retrieved to view student state from one user to another. You can avoid the need for accessing the state directly by adding the annotated_filename to the submission JSON blob as an arbitrary attribute. This will be useful in debugging anyhow, to have all relative information captured in the submissions table.
The text was updated successfully, but these errors were encountered:
discovery: is there a way we can avoid using access StudentModule state for the instructor annotations. i.e. what would it take to add a file field to the submissions api? This includes an e-mail to the edx-code list. 3
from #52 (comment)
The text was updated successfully, but these errors were encountered: