BugNET

Open source issue tracking & project management
| Login

Import Update!

We are currently in transition and have moved our discussions to CodePlex. These forums will remain as reference until we launch of our new site in the upcoming weeks. After that they will be removed.

Thank you for your patience during our transition.

Forums

HomeHomeSupportSupportGeneral SupportGeneral SupportError when click on Time EntryError when click on Time Entry's Clock
Previous
 
Next
New Post
8/24/2006 4:03 AM
 

When I click on the clock in Time Entry i get the following unhandled exception:

El valor '0.01' de la propiedad MinimumValue de 'RangeValidator1' no se puede convertir en el tipo 'Double'.  <--(Sorry, spanish version.... )

Seguimiento de la pila:

[HttpException (0x80004005): El valor '0.01' de la propiedad MinimumValue de 'RangeValidator1' no se puede convertir en el tipo 'Double'.]
   System.Web.UI.WebControls.RangeValidator.ControlPropertiesValid() +467
   System.Web.UI.WebControls.BaseValidator.Render(HtmlTextWriter writer) +85
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Page.ProcessRequestMain() +1929

 

I am using the spanish version of windows XP Pro with the spanish localized version of .NET 1.1

Maybe some problem with the CultureInfo (decimal separator character?).

I am using ES Culture.

 
New Post
8/24/2006 7:40 AM
 
This is fixed in the latest version by using a culture independent comparision.

Davin Dubeau

follow us on twitter facebook users group google plus
 
New Post
11/8/2006 4:10 AM
 

Davin wrote
This is fixed in the latest version by using a culture independent comparision.

Is this fixed in the 0.6.7 version,

because i have the same problem with a fresh installation.

Or should i download from the vcvs & compile a newer version myself?

 
New Post
11/8/2006 10:37 AM
 
I don't think it was fixed in 0.6.7. 

You can get the latest version from svn and compile but I would recommend staying with 0.6.7 until the new release of 0.7 unless you are just testing. 

You can open up the TimeTracking.ascx file in notepad and modify the validator to your culture specific number format.

<asp:rangevalidator id="RangeValidator1" Display="Dynamic" runat="server" ErrorMessage="Duration is out of range." Type="Double"
MaximumValue="24" MinimumValue="0.01" ControlToValidate="txtDuration"></asp:rangevalidator>

Davin Dubeau

follow us on twitter facebook users group google plus
 
New Post
11/8/2006 10:32 PM
 
Davin wrote
I don't think it was fixed in 0.6.7. 

You can get the latest version from svn and compile but I would recommend staying with 0.6.7 until the new release of 0.7 unless you are just testing. 

You can open up the TimeTracking.ascx file in notepad and modify the validator to your culture specific number format.

   				MaximumValue="24" MinimumValue="0.01" ControlToValidate="txtDuration">

Thank you for this fix, works fine.

The 0.6.7 release is for testing only, if we start using BugNET it will be 0.7 I think.

 
Previous
 
Next
HomeHomeSupportSupportGeneral SupportGeneral SupportError when click on Time EntryError when click on Time Entry's Clock


Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.