Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Move md file out of spec directory

Christophe Bliard008f7e959cb4
diff --git a/spec/progress-technical-debt.md b/progress-technical-debt.md
similarity index 56%
rename from spec/progress-technical-debt.md
rename to progress-technical-debt.md
index 2f61e80bdaf..c6d248422ee 100644
--- a/spec/progress-technical-debt.md
+++ b/progress-technical-debt.md
@@ -7,4 +7,8 @@ They should eventually be addressed.
* Remove the leading attribute name in validation messages in popover for work and remaining work
* How to: see https://www.bigbinary.com/blog/rails-6-allows-to-override-the-activemodel-errors-full_message-format-at-the-model-level-and-at-the-attribute-level?ref=writesoftwarewell.com
* Link to discussion with Parimal: https://matrix.to/#/!abggwvHnVGESiAdLKR:openproject.org/$9ommjHQiGj4lTFpBKOCzcUQpp-leaC5-b7jgisTy9VA?via=openproject.org
+* Harmonize messages for validation of negative work values for work and remaining work
+ * "Work must be >= 0": one we created ourself in https://github.com/opf/openproject/commit/15f52bcdc6cc50c30e14c213133cab4d59715347
+ * "Remaining work must be greater than or equal to 0" is the standard rails message (builtin. no translation needed)
+* In `app/services/work_packages/update_ancestors_service.rb`, `WorkPackage::UpdateAncestorsService#derive_attributes` is updating both `derived_estimated_hours` and `derived_remaining_hours` even when only one needs to be updated. This is because the tests depend on this behavior. (not sure that's worth modifying)
*