microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.54k stars 899 forks source link

Can't update SQL Server Agent Jobs #21886

Open sivan-koren opened 1 year ago

sivan-koren commented 1 year ago

Steps to Reproduce:

  1. Open a job in the SQL server agent extension.
  2. Make changes.
  3. Attempt to Save.
  4. View the error: [Error - 6:53:40 PM] Request agent/jobhistory failed. Message: Object reference not set to an instance of an object. Code: 0

Does this issue occur when all extensions are disabled?: N/A, this is an extension. But yes, I only have the Admin Pack installed.

This is the repository for the SQL Server Agent extension.

alleycat58uk commented 1 year ago

I don't get an error but any changes made to the job/steps are not saved when clicking the OK button.

Any changes currently have to be made in SSMS.

sivan-koren commented 1 year ago

Still seeing this in the latest version saving any job changes. Sometimes (maybe 3 out of 4) it actually saves the changes, even though the error appears.

image