Bug 13495 - Xamarin Studio with Italian locale throws exception when we use Git commands
Summary: Xamarin Studio with Italian locale throws exception when we use Git commands
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 4.0.9
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2013-07-26 04:38 UTC by Prashant Cholachagudda
Modified: 2013-07-26 11:26 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Prashant Cholachagudda 2013-07-26 04:38:03 UTC
Xamarin Studio (4.0.9) on Windows connected to TFS, throws an exception when we try to use Git commands.

Steps: 
1. Launch XS
2. Open my local solution (2 projects)
3. When I move the mouse over the menu Versioning Control I get the
exception.
4. XS crashes and I have to restart it
5. If I change my international settings from Italy to English (US)
everything work fine

Exception:

Error while updating status of command:
MonoDevelop.VersionControl.Git.Commands.StashPop


System.FormatException: Stringa non riconosciuta come valore DateTime valido.
in System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi,
DateTimeStyles styles, TimeSpan& offset)
in System.DateTimeOffset.Parse(String input)
in MonoDevelop.VersionControl.Git.Stash.Parse(String line)
in MonoDevelop.VersionControl.Git.StashCollection.ReadStashes()
in MonoDevelop.VersionControl.Git.StashCollection.GetEnumerator()
in System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
in MonoDevelop.VersionControl.Git.StashPopHandler.Update(CommandInfoinfo)
in MonoDevelop.Components.Commands.CommandHandler.InternalUpdate(CommandInfoinfo)
in MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo(ActionCommand cmd, CommandInfo info)
in MonoDevelop.Components.Commands.CommandManager.GetCommandInfo(Object commandId, CommandTargetRoute targetRoute)
Comment 2 Marius Ungureanu 2013-07-26 06:40:56 UTC
Could you paste the contents of $repo_dir/.git/log/refs/stash ?
Comment 3 Marius Ungureanu 2013-07-26 11:26:40 UTC
Regardless, fixed and will be included in future releases.