Page MenuHomeDevCentral

More explicit message when workspace configuration file doesn't exist
ClosedPublic

Authored by dereckson on Jul 9 2015, 23:08.
Tags
None
Referenced Files
F2828360: D15.id28.diff
Fri, Apr 19, 03:59
F2825959: D15.diff
Thu, Apr 18, 18:11
Unknown Object (File)
Mon, Apr 15, 00:43
Unknown Object (File)
Sun, Apr 14, 21:19
Unknown Object (File)
Sun, Apr 14, 04:25
Unknown Object (File)
Fri, Apr 12, 10:02
Unknown Object (File)
Wed, Apr 10, 13:20
Unknown Object (File)
Tue, Apr 9, 13:25
Subscribers
None

Details

Summary

An exception is thrown by Workspace::loadConfiguration if the workspace configuration file doesn't exist.

This exception weren't intercepted. We offer an interception and more explicit error messages.

New l10 keys:

  • CantLoadWorkspace, title of the error message if there is an issue getting workspace information
  • NotConfiguredWorkspace, content of the error message if the configuration file doesn't exist

Fixes T464.

Test Plan

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to More explicit message when workspace configuration file doesn't exist.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Jul 9 2015, 23:10
This revision was automatically updated to reflect the committed changes.