edgafner / dorkag

Issue Tracker repository for all Dorkag plugins
Other
5 stars 0 forks source link

[BUG]: Can not view Pr's #88

Closed tFerrellBastian closed 3 weeks ago

tFerrellBastian commented 2 months ago

Describe the bug I am having trouble viewing the PR, I can see it exists but when I click on it to get more info I get the following error:

Failed to load pull requests.
Deserialization of Request GET <redacted dev ops link>%2F_apis%2Fgit%2Frepositories%2Fstochastic_weight_averaging/diffs/commits?baseVersion=3bcf009ff97a1872666954eb287d8530c166c22b&baseVersionType=commit&targetVersion=3878486532912d4285519a7cbfc3fa6d95ce4a04&targetVersionType=commit&api-version=7.2-preview.1 response to JSON failed - Can't parse Azure Devops response: Instantiation of [simple type, class com.gafner.plugin.azd.pullrequest.api.dto.AZDCommonMergeCommit] value failed for JSON property commonCommit due to missing (therefore NULL) value for creator parameter commonCommit which is a non-nullable type at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 15698] (through reference chain: com.gafner.plugin.azd.pullrequest.api.dto.AZDCommonMergeCommit["commonCommit"])

To Reproduce Steps to reproduce the behavior:

  1. In pycharm pro 2024.1.1 on ubuntu 24.04
  2. Go To AZD pull requests
  3. Double Click on an Active Pull request
  4. Get Error

Expected behavior I expect to be able to get and view hte PR Request

Screenshots image

Desktop (please complete the following information):

JetBrains IDE (please complete the following information):

Azure Devops organization details:

Jonatha1983 commented 2 months ago

Hi @tFerrellBastian

Thanks for reporting.

It looks like this pull request of yours is trying to merge a source branch with a target branch, but they don't have any common history.

Can you provide more details on this scenario? Did you create the source branch from another repo? Is it a fork repo?

In any case, I will add a better error description for this scenario.

Jonatha1983 commented 3 weeks ago

@tFerrellBastian I am closing for now - if you are still having issues, please let me know.