why:
- In 29304fe219, we passed the resource
link title through to the assignment and thus the update_line_items
method.
- That method also left some resource link's behind in the database that
have an empty title. We don't want to send an empty title.
refs INTEROP-8606
test-plan:
- Replicate production first by doing the following:
- Create an assignment with a resource link by using the LTI 1.3 test
tool. You won't be able to set
the title to an empty string through the UI.
- Run `Lti::ResourceLink.last.update!(title: "")` to replicate the bad
data in production.
- Launch the assignment again. The resource link title should be an
empty string.
- Check this commit out.
- Launch the assignment again. The resource link title should now match
the assignment title.
Change-Id: I7796f5988aa898c41be569a966e154c2da00ae58
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347831
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
QA-Review: Xander Moffatt <xmoffatt@instructure.com>
Product-Review: Ryan Hawkins <ryan.hawkins@instructure.com>