Trackers, Mathematical field; Better verbose on error when the parameter Calculation is empty
- Status
- Open
- Subject
- Trackers, Mathematical field; Better verbose on error when the parameter Calculation is empty
- Version
- 24.x
25.x - Category
- Error
- Developer Training
- Easy for Newbie Dev
- Feature
- Advanced Rating Language / Mathematical calculation tracker field
UI / UX (User interface and experience) - Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Keep informed
- Adrien
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
On a Tiki24 (any Tiki 😉 ) in a tracker, when you use a Mathematical field and save it with the Calculation parameter empty, on item save the field value displayed the following error :
Expecting "(" near ""It is wrong and doesn't really help.
- Solution
When there is no Calculation parameter, the message should be:
"The parameter Calculation is empty, please edit the field and add a Calculation."Ideally, as this information is an error, this message should be visible for admin or people with this tracker field edit permission.
Other user shouldn't see anything for the value. (likely the Tiki owner don't want to show the world he made a mistake somewhere) 😉- Importance
- 5
- Easy to solve?
- 8
- Priority
- 40
- 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
- 8071
- Created
- Friday 11 February, 2022 06:51:05 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Friday 11 February, 2022 06:56:36 UTC