BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  General Support  Error when click on Time Entry's Clock
Previous Previous
 
Next Next
New Post 8/24/2006 6:03 AM
User is offline Aaron
1 posts
No Ranking


Error when click on Time Entry's Clock 

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 9:40 AM
User is offline admin
634 posts
bugnetproject.com
1st Level Poster




Re: Error when click on Time Entry's Clock 
This is fixed in the latest version by using a culture independent comparision.

Davin Dubeau
BugNET - Core Developer

 
New Post 11/8/2006 6:10 AM
User is offline BC
40 posts
No Ranking


Re: Error when click on Time Entry's Clock 

 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 12:37 PM
User is offline admin
634 posts
bugnetproject.com
1st Level Poster




Re: Error when click on Time Entry's Clock 
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
BugNET - Core Developer

 
New Post 11/9/2006 12:32 AM
User is offline BC
40 posts
No Ranking


Re: Error when click on Time Entry's Clock 
 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 Previous
 
Next Next
  Forum  Support  General Support  Error 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.