← Back to team overview

linux-traipu team mailing list archive

[Bug 521041] Re: Missing check for null in Do.Platform.Linux/src/Do.Platform/Do.Platform.Linux/EnvironmentServiceExtensions.cs

 

Sorry for the long, long time between submission and acceptance.
Committed!

** Changed in: do
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Do.
https://bugs.launchpad.net/bugs/521041

Title:
  Missing check for null in
  Do.Platform.Linux/src/Do.Platform/Do.Platform.Linux/EnvironmentServiceExtensions.cs

Status in Do:
  Fix Committed

Bug description:
  In the current bazaar head, the EnvironmentServiceExtensions.cs is
  missing a check for fallback being set as null before doing a string
  concatenation, resulting in, among other things, gnome bookmarks not
  beening read correctly. This can be fixed to a point of "works for me"
  by making the following changes.

  Do.Platform.Linux/src/Do.Platform/Do.Platform.Linux/EnvironmentServiceExtensions.cs

  Current: 71 if (!File.Exists (userDirsPath))

  Fix: 71 if (!File.Exists (userDirsPath) && fallback != null)

  I have attached a patch below.

To manage notifications about this bug go to:
https://bugs.launchpad.net/do/+bug/521041/+subscriptions