Skip to content

Training Resources Changed to Topic Document Attachments #72

@dcollie2

Description

@dcollie2

DESCRIPTION

The most recent requirements eliminate the need for Training Resources to be their own model. Instead, they will be has_many_attached on Topics. See the requirements for training resources.

This task will make the uploads work. The user interface specifics will need to be improved during a later user interface review.

Since the storage location depends on the topic's language, we are arbitrarily restricting the language from being changed once it is set. A separate task will address restoring the ability to change a topic's language.

Storage requirements were complex in an earlier version of the draft. They are much simpler now.

DEPENDENCIES

Dependent upon #71: Language Provides file_storage_prefix.

SUB TASKS

  • Training Material documents (currently has_one_attached: document on Training Material) are has_many_attached: documents on Topics
  • Testing is in place
  • Update training resources removal task with notes for developers

Sub-issues

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions