mitodl / salt-ops

Repository for building, managing and deploying salt-based infrastructure
BSD 3-Clause "New" or "Revised" License
47 stars 7 forks source link

Ficus: LTI Consumer XBlock includes unecessary "Feedback" div #481

Closed pdpinch closed 6 years ago

pdpinch commented 6 years ago

After passing results to an embedded LTI application, the LTI Consumer block displays an unexpected div similar to the following:

Feedback on your work from the grader:
Project-Id-Version: POT-Creation-Date: 2016-03-18 15:09+0500 PO-Revision-Date: 2016-03-18 15:09+0500 Last-Translator: Language-Team: Language: en MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Poedit 1.8.7 X-Poedit-Basepath: ../../.. Plural-Forms: nplurals=2; plural=(n != 1); X-Poedit-SearchPath-0: lti_consumer.py 

See https://odl.zendesk.com/agent/tickets/9964 and https://odl.zendesk.com/agent/tickets/10505

According to Ned, this string is what happens when an empty string is passed to the translation engine and it can't find the expected translation. So perhaps this is caused by an error in the template. We don't see this on edge.edx.org but that installation may have more translations installed than our residential installation.

pdpinch commented 6 years ago

closing in favor of #411