Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
When i create an action "calculate a value", and if one of the input value is empty (no value at all), the rule fails to calculate anything - which isn't really a bug. But could it be possible to consider an empty value as a 0 ?
I am not sure if it would make things inconsistent for other users but it sounds OK to me.
Comments
Comment #1
mitchell CreditAttribution: mitchell commentedComment #2
mitchell CreditAttribution: mitchell commentedI described a use for implementing this in #1540634: Calculate a value: support strings, lists, & files. There's probably more use cases to consider, so I encourage you to contribute your ideas and perspective.