The current #description text for the computed field input reads:
"Alternately, this code can be supplied by your own custom function named computed_field_field_next_increment_threshold_compute($node, $field, $node_field). Any code entered above will be ignored if the function is defined."

In my experience with this module, the $node_field parameter must be passed by reference, so the correct function pattern would be:
computed_field_field_next_increment_threshold_compute($node, $field, &$node_field).

This is an important distinction, as computed field will not work without the ampersand.

Comments

dqd’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Due to the Drupal core life cycle policy and security support advisery, Drupal 6 is no longer supported. So issues for Drupal 6 cannot be longer maintained. The project maintainer has asked for closing all D6 issues to clean up the issue queue. Feel free to reopen the issue if required or set it to "needs to be ported" and latest D8 dev version, if the issue discusses a still missing feature which can be implemented in the D8 version.