Closed (fixed)
Project:
Money field
Version:
5.x-1.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
28 Nov 2007 at 06:24 UTC
Updated:
27 Dec 2007 at 14:51 UTC
Creation of money cck field successful, able to create and retrieve data through edit mode. No results are being display upon the public view.
Installation of the latest builds of Drupal 5.3, CCK and Currency module. Additional fields such as date and various text and/or integers fields behave properly.
Comments
Comment #1
wim leersConsidering you're a new Drupal user, this is probably due to human error. Please don't set an issue to the bug report category unless you're absolutely certain ;)
This is either due to an incorrectly configured field or cached pages, probably. Create another Money field and try that one. If that doesn't work either, provide me with a login for your site.
Comment #2
micheHello,
I am experiencing the same issue. Using Drupal 5.3, Money 5.x-1.3, Currency 5.x-1.x-dev (October07).
The content does not display on node view.
I dumped the node object:
[field_product_price] => Array
(
[0] => Array
(
[amount] => 700
[currency] => USD
[view] =>
)
)
Please assist.
Comment #3
ebeyrent commentedIt should be noted that the field displays just fine when building views to display the data. It's when viewing node/xxxx that the field does not show.
Comment #4
wim leersI'd swear it used to work. Could somebody install version 1.0 on a test site to verify that it never worked?
Comment #5
micheVersion 1.0 displays the money field correctly at the node level. Although using views, it displays a comma instead of a decimal.
Comment #6
wim leersThanks. I've found the cause now.
In the initial versions, a formatter with the internal id "default" existed. But since the previous release, I've renamed them all to make sense (since there are 6 formatters now). So now, CCK doesn't pick any of them as the default. You simply have to go to
admin/content/types/<your conten type>/display(so the "Display fields" tab of a content type), choose your desired selector, and then save the form.So this is a CCK bug: if no formatter with the name "default" exists, no formatter is used. I'll report this in the CCK issue queue.
Comment #7
wim leersReported in the CCK issue queue: issue #199700.
Comment #8
micheThank you Wim. It appears by selecting a new display and saving has allowed the price to show.
Comment #9
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.