Plugin list default parameter output seems broken if used with the format date parameter
- Status
- Open
- Subject
- Plugin list default parameter output seems broken if used with the format date parameter
- Version
- 26.x
- Category
- Bug
- Feature
- Trackers
Wiki Plugin (extends basic syntax) - Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
To reproduce the issue, on Tiki26 a plugin list with the date displayed for output with format "date".
If a date exist it should be displayed else we have the usual notice textNo value for 'tracker_field_testDate'
{LIST()}
{pagination max=1}
{filter field=tracker_id content=10}
{filter field="object_id" content="8667"}
{OUTPUT()}
Date: {display name="tracker_field_testDate" format="date"}
{LIST}This is an item on dev and the plugin list can be tested here: https://dev.tiki.org/tiki-pluginlist_experiment.php
To prevent this to be displayed I set a default parameter.
{display name="tracker_field_testDate" format="date" default="no date found"}But instead of the previous notice or the parameter I set I have nothing "blank".
If I set default="18/08/2024" I have nothing too.
If I try default=" " it displays today's date.May be it will work with a unix date value, but this would be very user-unfriendly and can't be considered as the purpose of the parameter.
- Solution
- Workaround
- Importance
- 7
- Easy to solve?
- 7
- Priority
- 49
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8668
- Created
- Sunday 18 August, 2024 16:02:39 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Sunday 18 August, 2024 17:36:14 UTC