View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000659 | Heureka | General | public | 2024-01-30 13:00 | 2024-11-18 13:32 |
Reporter | admin | Assigned To | alvlin | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | open | ||
Product Version | 2.22.0 | ||||
Target Version | 2.23.0 | Fixed in Version | 2.23.1 | ||
Summary | 0000659: StandWise fails to load textures | ||||
Description | Email from: Bugtracker Heureka <bugtracker.heureka@slu.se> Originally sent by: Thies Eggers<thies.eggers@htskogar.se> Start av StandWise --- Exception --- System.IO.DirectoryNotFoundException: Det gick inte att hitta en del av sökvägen C:\Windows\system32\Textures\Dead. --- Stack Trace --- vid System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) vid System.IO.FileSystemEnumerableIterator`1.CommonInit() vid System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) vid System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) vid Slu.Heureka.ApplicationLayer.StandVis.UI.GraphicalView.gatherAvailableTextures() vid Slu.Heureka.ApplicationLayer.StandVis.UI.GraphicalView..ctor(TreatmentManager treatmentManager, VisualForestManager visualForestManager) vid Slu.Heureka.ApplicationLayer.StandVis.MainForm.get3DView() vid Slu.Heureka.BaseLayer.UICommands.OpenTabPageCommand.Do() vid Slu.Heureka.DomainLayer.Applications.MainFormBase.ExecuteCommand(ICommand command) vid Slu.Heureka.ApplicationLayer.StandVis.MainForm.changeProject() | ||||
Steps To Reproduce | StandWise fails to load textures if a project file is opened directly. | ||||
Tags | No tags attached. | ||||
Product | StandWise | ||||
|
L391 in GraphicalView.cs. Directory.GetFiles uses a relative path, which returns the wrong path if StandWise has been opened by clicking a project file. Directory.SetCurrentDirectory(String) might work with Assembly.GetExecutingAssembly().Location |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-30 13:00 | admin | New Issue | |
2024-01-31 08:28 | jonare | Assigned To | => cilwan |
2024-01-31 08:28 | jonare | Status | new => assigned |
2024-01-31 08:28 | jonare | Product Version | => 2.22.0 |
2024-01-31 08:28 | jonare | Target Version | => 2.23.0 |
2024-01-31 08:28 | jonare | Summary | User Submitted Report => StandWise fails to load textures |
2024-01-31 08:28 | jonare | Description Updated | |
2024-01-31 08:28 | jonare | Steps to Reproduce Updated | |
2024-01-31 08:28 | jonare | Product | General => StandWise |
2024-02-28 08:22 | jonare | Note Added: 0000607 | |
2024-02-28 08:28 | jonare | Note Edited: 0000607 | |
2024-08-15 09:12 | jonare | Assigned To | cilwan => jonare |
2024-11-18 09:46 | alvlin | Assigned To | jonare => alvlin |
2024-11-18 13:29 | alvlin | Changeset attached | => heureka trunk r22533 |
2024-11-18 13:32 | alvlin | Status | assigned => resolved |
2024-11-18 13:32 | alvlin | Fixed in Version | => 2.23.1 |