Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Placing a default values in the "Default value" section for "Street" causes it to be displayed on the default node/add page, but when you save the node the value is not saved.
Comment | File | Size | Author |
---|---|---|---|
#2 | location_default.patch | 2.52 KB | igor.ro |
Comments
Comment #1
YesCT CreditAttribution: YesCT commentedPlease check to see if this is still a problem in the new release. If it is, reply with a new summary and set the status back to active.
Also, there seem to have been a lot of "default" type issues, maybe do a search for default in the issue queue and see if another is a duplicate...
http://drupal.org/project/issues/location?order=last_comment_timestamp&s...
Comment #2
igor.ro CreditAttribution: igor.ro commentedThe problem was because of using location_default_location to get empty location.
but as you can mind "empty" and "default" locations are not the same.
Here is the patch
Comment #3
ShaneOnABike CreditAttribution: ShaneOnABike commented+1
Comment #4
nilla054 CreditAttribution: nilla054 commentedWhen adding a new content type, default values are loaded to certain fields. when the user edits the default value and previews it, the new value is reflected in the node preview but the form still holds the default value and when the form is submitted the default value is saved instead of saving the new value.
Form works fine when it is not previewed (new value is saved into the database)
Comment #5
KarenS CreditAttribution: KarenS commentedAn issue with a patch for the Location module does not belong in the CCK issue queue. If something is wrong with the way default values work in Location fields, that is most likely a Location issue.
Comment #6
rooby CreditAttribution: rooby commentedThis should be needs review.
The patch still applies with offsets.
I have not a chance to review right now though.
Comment #7
podarokbot recall
Comment #8
podarokbot
Comment #10
legolasboClosing old D6 issues as D6 is end of life