You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the same issue as #2176, but with mssql instead of postgresql.
The watchers page runs a query like this with mssql:
SELECT TOP 40*FROM"user"LEFT JOIN"watch"ONuser.id=watch.user_idWHEREwatch.repo_id=1
That results in this error:
Cannot call methods on nvarchar.
The fix in commit 9178993 added double quotes to escape the "user" alias just when setting.UsePostgreSQL is true. That same fix should work here if it's updated to use that quoted version when setting.UseMSSQL is true.
The fix in commit 9178993 added double quotes to escape the "user" alias just when setting.UsePostgreSQL is true. That same fix should work here if it's updated to use that quoted version when setting.UseMSSQL is true.
Activity
laojianzi commentedon Oct 14, 2020
@22222 Thank
I tried, you're right.
repo: fix 500 on /watchers & /stars for mssql