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.
I get the following error from the module:
I haven't had time to explore it further, but I will probably do so eventually. Until then, here are some system info:
Drupal 6.x (CVS), PostgreSQL 8.3.7, PHP "5.2.9-pl2-gentoo with Suhosin-Patch 0.9.7", Linux 2.6.28-gentoo-r5
Comments
Comment #1
markus_petrux CreditAttribution: markus_petrux commentedIt looks like the field does not have the information that should have been saved when the field settings panel was sent.
Could you please edit the field settings, save, and then test again if the problem persists?
Otherwise, please try to describe where do you exactly get the error? Steps to reproduce?
Comment #2
Freso CreditAttribution: Freso commentedI actually think this is a bug with the Money CCK field module, as that is the field I'm using - which in turn uses the Formatted Number CCK module.
Steps to reproduce: Make a Drupal (6) site, install the Money CCK field module (and disable all other, non-needed, modules, if you want), make a new content type and add a Money field. After having configured the field, the error should start popping up.
Comment #3
markus_petrux CreditAttribution: markus_petrux commentedOh, I see. Thanks for the explanation. :)
Well, I'm transfering back the issue to the Formatted Number CCK module, as the easiest fix would be here.
Could you please try the following mini-patch to formatted_number.module?
This should fix the PHP notice caused by the fact that Money CCK field reuses the Formatted Number widget without implementing the min/max options.
Comment #4
markus_petrux CreditAttribution: markus_petrux commentedWell, the fix is so simple that I went ahead and committed to CVS. It should be available in the next nightly snapshot.
Comment #5
Freso CreditAttribution: Freso commentedYes, that removed the notice quite nicely. Thank you. :)