Skip to content

Conversation

@cquirosj
Copy link
Contributor

Fix RavenDB Management Studio link binding issue

Summary

This PR fixes a property name mismatch introduced in PR #5237 that caused the RavenDB Management Studio hyperlink to be grayed out and non-functional in the ServiceControl Management UI.

Problem

After merging PR #5237 "Point RavenDB Management Studio link to localhost", the RavenDB Management Studio link in the Advanced Options maintenance mode section became unresponsive. The link appeared grayed out and clicking it had no effect.

Root Cause

PR #5237 renamed the property from StorageUrl to RavenDbStudioUrl in ServiceControlBaseService.cs, but the corresponding ViewModel property in ServiceControlAdvancedViewModel.cs was incorrectly named RavenStudioUrl (missing "Db"). This property name mismatch caused the WPF data binding to fail.

Solution

  • Fixed property name in ServiceControlAdvancedViewModel.cs from RavenStudioUrl to RavenDbStudioUrl
  • This ensures proper binding between the ViewModel and the underlying ServiceControlInstance property

Files Changed

  • src/ServiceControl.Config/UI/AdvancedOptions/ServiceControlAdvancedViewModel.cs

Testing

  • RavenDB Management Studio hyperlink now appears as an active blue link
  • Clicking the link properly opens the RavenDB Studio at http://localhost:{port}/studio/index.html#databases
  • Right-click context menu "Copy to Clipboard" functionality works correctly

Fixes issue introduced in #5237

# Fix RavenDB Management Studio link binding issue

## Summary
This PR fixes a property name mismatch introduced in PR #5237 that caused the RavenDB Management Studio hyperlink to be grayed out and non-functional in the ServiceControl Management UI.

## Problem
After merging PR #5237 "Point RavenDB Management Studio link to localhost", the RavenDB Management Studio link in the Advanced Options maintenance mode section became unresponsive. The link appeared grayed out and clicking it had no effect.

## Root Cause
PR #5237 renamed the property from `StorageUrl` to `RavenDbStudioUrl` in `ServiceControlBaseService.cs`, but the corresponding ViewModel property in `ServiceControlAdvancedViewModel.cs` was incorrectly named `RavenStudioUrl` (missing "Db"). This property name mismatch caused the WPF data binding to fail.

## Solution
- Fixed property name in `ServiceControlAdvancedViewModel.cs` from `RavenStudioUrl` to `RavenDbStudioUrl`
- This ensures proper binding between the ViewModel and the underlying ServiceControlInstance property

## Files Changed
- `src/ServiceControl.Config/UI/AdvancedOptions/ServiceControlAdvancedViewModel.cs`

## Testing
- RavenDB Management Studio hyperlink now appears as an active blue link
- Clicking the link properly opens the RavenDB Studio at `http://localhost:{port}/studio/index.html#databases`
- Right-click context menu "Copy to Clipboard" functionality works correctly

Fixes issue introduced in #5237
@cquirosj cquirosj merged commit ad39952 into master Dec 24, 2025
32 checks passed
@cquirosj cquirosj deleted the SCMU-RavenStudioLink-amed-5237 branch December 24, 2025 01:52
@cquirosj cquirosj changed the title # Fix RavenDB Management Studio link binding issue Fix RavenDB Management Studio link binding issue Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants