---
url: /changelog/v9.7.x/patch-releases.md
---

# Patch Releases for Teamscale 9.7

## Version 9.7.21

### Fixes

* False positives for "Check usage of transition conditions in Stateflow transitions" check for referenced subsystems for Simulink
* Teamscale sometimes failed to vote on branches after a rollback

***

## Version 9.7.20

### Fixes

* Deleted merge requests sometimes led to `NullPointerException` in `BitbucketServerMergeRequestUpdateTrigger`

***

## Version 9.7.19

### Improvements

* Improved logging when `MergeBaseResolver` fails

***

## Version 9.7.18

### Improvements

* C# 11: Support for `required` keyword

***

## Version 9.7.17

### Fixes

* Issue details view showed all repository commits if an issue had no related commits
* `NullPointerException` when triggering an anonymized debug dump

***

## Version 9.7.16

### Fixes

* `IllegalArgumentException` in "SQL SELECT INTO unique object count" check for PL/SQL
* *External Accounts* view: *System Type* dropdown didn't work when creating a new external account
* False positives for "Bad Assignments" check when assigning a value to a pointer inside a conditional statement in Objective-C/C++
* Parameters named `property` were incorrectly parsed as keywords instead of identifiers in C++

***

## Version 9.7.15

### Fixes

* Swift: Switch cases with colons in conditions were parsed incorrectly
* Annotating Bitbucket Server merge requests failed with `InvalidPullRequestReviewersException` in some cases
* *Delta* perspective for specification items could break with the error `list of issues and associated resolutions need to be of the same size`
* False positives for "Avoid ignored or disabled JUnit tests" check for Java
* `DebugForceIssueBadgeUpdateService` updated Jira issues with incorrect values

***

## Version 9.7.14

### Fixes

* GitHub connector: Logs sometimes contained irrelevant error messages from the webhooks service
* GitHub connector: Webhook service sometimes failed with an `IllegalArgumentException`
* The upload status of external uploads was duplicated in some cases
* Findings table in *Merge Request Detail* view always redirected to the first page
* *Instance Comparison* view: Wrong diffs in *Language* metric
* ABAP object path meta data files were erroneously visible in Teamscale

***

## Version 9.7.13

### Fixes

* *Architecture* view: Long architecture names were cut off incorrectly
* False positives for "Switch statements should not contain unexpected constructs" check when using pragma directives for C/C++
* `MergeRequestSynchronizer` did not run according to the set polling intervals
* False positives for "Port block name visibility" check when parameter "Hide Automatic Block Names" is enabled for Simulink
* Teamscale login sessions were invalidated too often
* *Merge Request* view showed unrelated specification items
* C/C++: Compile commands with `-D` parameter followed by space in `arguments` attribute were incorrectly handled

### Improvements

* Improved loading times of the metrics, search and compare views
* The merge request details now include a new table showing commit alerts if alerts exist in the merge requests' commits

***

## Version 9.7.12

### Fixes

* False positives for "Commented Out Code" check in C/C++
* Model Advisor reports with model compile problems were not parsed correctly
* *Reports*: Some metrics were not selectable as color metrics for the metric treemap slide
* False positives for `bugprone-branch-clone` check for Clang-Tidy
* Pre-commit analysis incorrectly reported files as excluded from analysis in multi-connector projects

***

## Version 9.7.11

::: details   Security Improvements
This version contains security improvements. If possible, please update to at least this version.
:::

### Fixes

* Merge request detail view sometimes incorrectly indicated that a merge request has not been analysed (requires re-analysis)
* Architectures mappings matched on no files when using type- and file-based architectures at the same time
* Bitbucket Server: Teamscale was not able to review pull requests
* Bitbucket Server: Non-readable key was used instead of readable name to match build jobs (requires re-analysis)
* `BitbucketServerMergeRequestSynchronizer` could get stuck when using build include/exclude patterns
* SCM-Manager: Voting on pull requests failed in case the pull request included moved files
* False positives for "Non-empty switch clauses have to be terminated unconditionally" check when using empty statements for C/C++
* False positives for "Unused variable or parameter" check for C/C++
* False positives for "Switch statements should not contain unexpected constructs" check when using the fallthrough attribute for C/C++

***

## Version 9.7.10

### Fixes

* Output-port data types of common blocks from the Simulink library were incorrectly resolved in some cases
* False positives for "Unused variable or parameter" check for C# when using `out` parameters

### Improvements

* New service to test the performance of regular expressions used in architecture definitions

***

## Version 9.7.9

### Fixes

* *Findings Churn* view could break when using timestamps without a specified branch
* Last "Start date" in project branching configuration was not editable
* SAML: Cases with users having multiple accounts with the same email were not handled correctly
* GitHub Integration: Check Runs were sometimes not updated from "in progress" to "completed"
* Clicking on a metric value in *Delta > Metric Churn* view caused tab to freeze
* *Test Selection* view: Test durations of execution units were not shown

***

## Version 9.7.8

::: details   Security Improvements
This version contains security improvements. If possible, please update to at least this version.
:::

### Fixes

* False positives for "Function types should be in prototype form" check for C++ keyword `property` as identifier
* False positives for "Endif directive comment check" check for if-directives included in the endif directive comment
* False positives for "Null pointer dereference" check when defining pointers
* False positives for "Null pointer dereference" check in case `while` condition ensured non-null pointer value
* False positives for "Statements in Conditional Expression are equal" check with C/C++ macros
* False positives for "Check diagnostic settings for incorrect calculation results" check in Simulink for referenced subsystems
* False positives for "Avoid different type categories for operands of binary arithmetic operator" check for integer literal operands
* Open merge requests with deleted source branch were not handled correctly
* Group filter was not applied for the *Delta* > *Repository Changes* view
* Processing of large JaCoCo report could take unexpectedly long
* Security: Users could edit their own mail address to get more privileges when synchronizing groups based on mail address
* Shadow mode was disabled after project backup import
* False positives in "Unreachable code after exit statement" check for pragma directives following an exit statement
* Identifiers with dots were not parsed correctly in  IEC 61131-3 Structured Text

### Improvements

* Eclipse ABAP Development Tools: *Open in external editor* now works for ABAP DDIC and CDS source objects

***

## Version 9.7.7

### Fixes

* Avatars in "Search > Commits" were slightly distorted
* False positives for "Avoid creating SimpleDateFormat objects without specifying the Locale" check for Java
* False negatives for structure analysis when using named functions in a structure similar to ES5 constructors
* False positives for the AbapLint check "check\_includes"
* Metrics trend for specification items and issue metrics started in the year 1970
* Parse log was not generated with the default configuration
* Button for importing users and groups via LDAP was not always visible
* JaCoCo Coverage Reports: Some report variants caused parsing failures
* False positives for "Missing AUTHORITY-CHECK in reports/programs" check for ABAP inside the conditional block of an if statement

***

## Version 9.7.6

### Fixes

* `LDAPSynchronizeTriggerManual` was scheduled in an endless loop when manually synchronizing a single LDAP group
* Branch chooser in the *Test Gaps* section of the *Issues* details view was cut off if the branch name was too long
* Method history compare view did not scroll to method offset after navigation via direct link
* `StringIndexOutOfBoundsException` in "Checks for missing or obsolete abap doc" check
* `IndexOutOfBoundsException` in "Bitwise Operators in Conditional" check
* "Endif directive comment" check was not available for C and Objective-C++
* False positives in "Assignment of a variable to itself" check for C++ in case of scope resolution operator (`::`)
* *Merge Request Detail* view showed permanent loading bars for not yet analyzed merge requests
* Signatures and keys based on references were not supported for SAML
* False positives for "Null pointer dereference" check in case of null check in `finally` block
* False positives for "Unreachable code after exit statement" check when using null coalescing operator in C#

### Improvements

* Eclipse plugin: Improved structure of update site

***

## Version 9.7.5

### Fixes

* Findings table in commit details view was displayed with a horizontal scrollbar even on wide screens
* False positives for "Multiple statements in same line", "Function types should be in prototype form" and "C++ naming conventions" checks when using `event` as a variable name in C++
* GitHub pull requests were not fetched in case the build completeness check was enabled in the project
* Default dashboard templates were duplicated during backup imports when updating Teamscale to a new major version
* Flagging findings from the findings context menu did not consider "Disable empty rationale and force the user to insert at least some text" server option
* T-SQL parser errors when using `GRANT` without `ON`
* IntelliJ plugin: `UnsatisfiedLinkError` when making service calls
* Selecting any user group in the *Delta Parameters* page led to a red error page when computing delta, in case "privacy mode" was enabled

### Improvements

* IntelliJ plugin: Resolved warnings about deprecated use of `ActionUpdateThread.OLD_EDT`

***

## Version 9.7.4

### Fixes

* Rendering glitch in *Markdown* slide
* Backups from 9.6 sometimes failed to import in 9.7 with the error "Unknown option for connector \[...]: Skip Voting on merge requests without relevant changes"
* Method history compare view highlighted wrong region in some cases
* *System Information* view showed red error page when OSHI library could not be loaded
* False positives for "Multiple statements in same line" check in case of map initialization with `initonly` in C++
* teamscale-dev: Pre-commit failed for unsupported file types (e.g., binary files)
* IntelliJ plugin: Opening IntelliJ triggered a findings fetching job for every open file which caused some of the jobs to fail with the error "Pre-Commit is limited to use every x seconds"
* *Check Explorer*: Size of input fields was too small for some parameters
* *Code City* widget visualization was too dark
* Incorrect parsing of the `defer` keyword in Swift led to wrong method length computation
* Saving a project configuration without changes led to a reanalysis in some cases
* Trend dialog failed to open from *Metrics Table* widget when clicking trend indicator
* Exceeding the maximum size for CFGs in dataflow analysis resulted in an error instead of a warning
* `SimulinkParameter` was missing the "Dimensions" attribute

***

## Version 9.7.3

### Fixes

* Language list in *Analysis Profiles* was sorted in rows instead of columns
* False positives for "Forbidden Standard I/O-Functions" check in case of `event` modifiers in C++
* Pagination in *Users* view did not work
* Flickering scrollbars in *Check Explorer*
* Eclipse plugin: Findings were not properly synchronized leading to "No finding found with ID ..." error when clicking "Open in Web Browser"
* Resolved findings in deleted or renamed files were missing in merge requests
* False positives for "Forbidden literals" check in case of function calls with exception parameters in ABAP
* Analysis profiles returned by the `analysis-profiles` service were not filtered based on user's permissions
* False positives in naming convention analysis due to incorrectly detected element types in IEC 61131-3 ST (Structured Text)
* False positives for "Check for usage of text inside states" check in Simulink

### Improvements

* Improved loading time in the *Delta* perspective for specification items

***

## Version 9.7.2

### Fixes

* Reporting: *Markdown* slides did not keep their title height in case there was much content on the slide
* Eclipse plugin: No findings were fetched due to "Unknown Teamscale Branch" error in case branch override was used and "Enabled Automatic Pre-Commit Analysis" was switched off
* Initial dashboard for projects was not accessible to all project members by default
* Bulk deletion of user groups did not remove all group associations for the corresponding users
* `OutOfMemoryError` in `ExternalAnalysisReportArchiveCleanupTrigger`
* Teamscale did not vote on Bitbucket Server pull requests in some cases

### Improvements

* Added modal dialogs to *Check Explorer*
* CSV export of findings now includes the export commit
* Improved loading time of *Execution Status* view

***

## Version 9.7.1

### Fixes

* Backup import failed due to rate-limited service calls in Bitbucket Cloud connector
* Line height in markdown slide was broken when there was only a single paragraph
* Tooltips for baselines in dashboard widgets were incorrect and inconsistent
* Some cells in the *Event Log* table did not wrap properly
* `ExternalAnalysisReportArchiveCleanupTrigger` sometimes caused `OutOfMemoryErrors`
* Upload of analysis profiles retrieved from REST endpoint failed due to unsupported property `qualityIndicator`
* Errors in `DataFlowFindingsSynchronizer` for C# in case local functions were called in lambdas
* User deletion was sometimes not successful if the user was updated at the same time
* Text input field in LDAP import dialog for users and groups did not update properly
* `NullPointerException` in `AnalysisReportIntegrator`
* *ABAP Object Properties* menu item was not visible for ABAP CDS objects

### Improvements

* Improved findings description for "Assignment of a variable to itself" check
* Documentation: "What's new" page now contains a link to the download page for the corresponding releases

***

## Version 9.7.0

::: details   Bug Fixes

* 9.7.0 contains all fixes from previous versions released on and before April 30th, 2024
* For brevity, only new features are included in the changelog
  :::
