-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Expected Behavior
Favorites are reloaded when mRemoteNG is reloaded when using SQL/MySQL connections
Current Behavior
This feature is missing the local property reload
Possible Solution
public IEnumerable<LocalConnectionPropertiesModel> Deserialize(string serializedData)
.Select(m => new XElement("Node",
new XAttribute("ConnectionId", m.ConnectionId),
new XAttribute("Connected", m.Connected),
new XAttribute("Expanded", m.Expanded),
new XAttribute("Favorite", m.Favorite) // added #1470
));
public IEnumerable<LocalConnectionPropertiesModel> Deserialize(string serializedData)
.Select(e => new LocalConnectionPropertiesModel
{
ConnectionId = e.Attribute("ConnectionId")?.Value,
Connected = bool.Parse(e.Attribute("Connected")?.Value ?? "False"),
Expanded = bool.Parse(e.Attribute("Expanded")?.Value ?? "False"),
Favorite = bool.Parse(e.Attribute("Favorite")?.Value ?? "False") // added #1470
});
Steps to Reproduce (for bugs)
- Load mRemoteNG, configure SQL Server settings
- Reload mRemoteNG
- Select a connection
- Set Favorite to Yes
- Unload mRemoteNG
- Load mRemoteNG
- No Favorite's are reloaded from the Local Settings
Context
The feature saves and reloads using the standard XML connection but not with SQL Server configured (haven't looked at the MySQL version)
Your Environment
- Version used: mRemoteNG Version: 1.77.0 dev @31/05/2019
- Operating System and version (e.g. Windows 10 1709 x64): Windows 10 Home 1809 17763.529
farosch
Metadata
Metadata
Assignees
Labels
No labels