Content
View differences
Updated by Oliver Günther about 2 years ago
### Steps to reproduce
* In the [documentation for the wysiwyg editor](https://www.openproject.org/docs/user-guide/wysiwyg/#available-attributes-for-work-packages), the `workPackageValue` macro lists all the available attributes.
### What is the buggy behavior?
* The attributes `startDate` and `dueDate` do not work for a work package of type milestone. One must use `date`, but it's not documented
* Example with milestone work package ##53565:
* `workPackageValue:53565:startDate` => workPackageValue:53565:startDate
* `workPackageValue:53565:dueDate` => workPackageValue:53565:dueDate
* `workPackageValue:53565:date` => workPackageValue:53565:date
* Example with bug work package ##53814:
* `workPackageValue:53814:startDate` => workPackageValue:53814:startDate
* `workPackageValue:53814:dueDate` => workPackageValue:53814:dueDate
* `workPackageValue:53814:date` => workPackageValue:53814:date
### What is the expected behavior?
* For milestones
* startDate, dueDate and date result in The app behavior is correct (I suppose) but it should be documented that the same value (the one date value)
* For non-milestones
* startDate attributes `startDAte` and dueDate show `dueDate` do not work and that singular date value
* date shows the date range YYYY-MM-DD - YYYY-MM-DD
* attribute to be used is `date` for milestone work packages.
* In the [documentation for the wysiwyg editor](https://www.openproject.org/docs/user-guide/wysiwyg/#available-attributes-for-work-packages), the `workPackageValue` macro lists all the available attributes.
### What is the buggy behavior?
* The attributes `startDate` and `dueDate` do not work for a work package of type milestone. One must use `date`, but it's not documented
* Example with milestone work package ##53565:
* `workPackageValue:53565:startDate` => workPackageValue:53565:startDate
* `workPackageValue:53565:dueDate` => workPackageValue:53565:dueDate
* `workPackageValue:53565:date` => workPackageValue:53565:date
* Example with bug work package ##53814:
* `workPackageValue:53814:startDate` => workPackageValue:53814:startDate
* `workPackageValue:53814:dueDate` => workPackageValue:53814:dueDate
* `workPackageValue:53814:date` => workPackageValue:53814:date
### What is the expected behavior?
* For milestones
* startDate, dueDate and date result in
* For non-milestones
* startDate
* date shows the date range YYYY-MM-DD - YYYY-MM-DD
*