-
Pavel Balashou authored
* [#43692] Modify API to be able to handle file_links without a container. https://community.openproject.org/work_packages/43692 * Set work_packages--file_links association to be polymorphic. - Replace the usages of Storages::FileLinks.visible, because eager_loading of polymorphic associations is not easy. - Remove WorkPackages::CreateService#replace_attachments method. It does actual saving of a work_package. Replaced the call with actual code.
Pavel Balashou authored* [#43692] Modify API to be able to handle file_links without a container. https://community.openproject.org/work_packages/43692 * Set work_packages--file_links association to be polymorphic. - Replace the usages of Storages::FileLinks.visible, because eager_loading of polymorphic associations is not easy. - Remove WorkPackages::CreateService#replace_attachments method. It does actual saving of a work_package. Replaced the call with actual code.
Loading