Closed (fixed)
Project:
Salsa Entity
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Dec 2012 at 15:57 UTC
Updated:
21 Dec 2012 at 21:10 UTC
Jump to comment: Most recent file
Salsa_profile.module calls country_get_list() from locale, but locale is not enabled in D7's default install profile and it's not listed as a dependency in salsa_profile.info. I'll be posting a patch soon.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | salsa_entity-salsa_profile_fix_locale_dependency-1861202-1.patch | 323 bytes | johnshortess |
| #1 | salsa_entity-salsa_profile_fix_locale_dependency-1861202-1.patch | 426 bytes | johnshortess |
Comments
Comment #1
johnshortessHere's a patch adding dependencies[] = locale to salsa_profile.info.
Comment #2
berdirHey, you're alive! ;)
Yep, we overlooked that.
Instead of enforcing the dependency, we could also make the feature optional. Not sure what we should be doing in that case then. Maybe just display it as a textfield, but the problem there is that it then only accepts language codes, AFAIK.
Comment #3
berdirCrosspost.
Comment #5
johnshortessYes, I am alive! It's been a really crazy year. But I'm finally focusing on Salsa again -- I really like what I see in salsa_entity so far! And I'm hoping to give salsa_api some long overdue attention in the next couple of weeks, too.
Oops, testbot didn't like my patch -- I'll fix and resubmit. That will eliminate the error in the near-term, if you think changing the module's behavior and making the feature optional is a better long-term solution.
Comment #6
berdirAh, the problem with your patch is that you patched against the downloaded dev snapshot. That contains some additional build information below that you can see in your patch but it doesn't exist in the git checkout.
Don't worry, I'll be able to apply it.
Comment #7
johnshortessOkay, let's try this again. Was in the wrong repo. Not enough caffeine this morning...
Comment #8
johnshortessCrosspost. Again!
Comment #9
berdirCommited, thanks.