Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbacklocalization and fallback errorlocalization and fallback error
Previous
 
Next
New Post
8/30/2013 6:02 AM
 

Default 7.1.1 installation,

  • add the feedback form
  • edit desktopmodules/feedback/app_localresources/feedback.ascx.resx

 cut out:
  <data name="valMessageLength.Error" xml:space="preserve">
    <value>Message must be no more than {0} characters</value>
  </data>

 and the module crits out:

Error: Feedback is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.String.Format(String format, Object arg0) at DotNetNuke.Modules.Feedback.Feedback.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace --- 

This means that if you:

  • add a language1 to the portal
  • set it as default language
  • set the fallback to another language2 non-EnglishUS
  • disable EnglishUS

The module errors if you don't have a <data name="valMessageLength.Error"...> for that language1.

Also, shouldn't the localization fallback twice from language1 -> language2 -> system default en-US?

 
New Post
8/30/2013 6:36 AM
 
Hi Dennis,

I wouldn't expect you to completely remove the element from the resx, rather just blank out the value. However, I'm interested as to what you are trying to achieve, if you just want no error to display I would set the max message length to something large.

In terms of language fallback, I'm not an expert on this but I think you should see in the Admin\Language dialogue that English (US) is the system default, i.e. the ultimate fallback. But if you delete from feedback.ascx.resx you are in effect deleting from the System Default, so you have removed the fallback for that element.

Cheers
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
8/30/2013 7:21 AM
 

Hi,

I was trying to simplify explaining the problem but I guess I made it more confusing :)

Let me rephrase it:

  • Default 7.1.1 installation
  • deploy language pack (nl-NL)
  • add a language1 (eg. nl-BE) and set fallback language2 (nl-NL)
  • set language1 (nl-BE) as portal default language
  • disable en-US
  • add the Feedback module to a page

And the above error occurs.

 
New Post
8/30/2013 7:24 AM
 
OK, I'll test. I'd expect it to fallback to system default though :-(

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
8/30/2013 7:25 AM
 
Can you mail me the two language packs to webmaster @ the domain in my profile.

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbacklocalization and fallback errorlocalization and fallback error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out