Closed olegpoltora closed 4 months ago
Settings for repository:
Hi @olegpoltora
Will investigate this issue next week, thanks for reporting
@olegpoltora, sorry for the delay.
I looked, and it looks like your plugin user ID is different from the PR author ID - so I think it is a bug of mine, but yours is a particular case, and I need your help to spot the bug entirely.
Can you open a browser and paste this:
https://app.vssps.visualstudio.com/_apis/profile/profiles/me
and let me know if the email address you see there is the one of the PR's Author
Thanks
@Jonatha1983 Hello i encountered the same issue: Should i dump the respone of : https://app.vssps.visualstudio.com/_apis/profile/profiles/me
here ?
Hi @MrBalum
You can just let me Know if the email that appears there is the one you expect to be used to work with the plugin
And in case there is only one email in there - can you confirm that more than one user has the same email in Azure Devops organization?
@Jonatha1983 Yeah absoluty as expected. Username and Email-Adress is as Expected:
My Actual Version of PHPStorm is: 2023.3.4
The Account is configured an i can work also with this account. I can comment and Manage PR´s but Approval is not functional. If i switch the plugin option Azure DevOps Theme on then a button appears to approve and if i select some of the options of the selectbox the Plugin does nothing there...
@MrBalum Thanks for the input!!
I am debugging - can you check this URL as well:
https://dev.azure.com/
and see if it has the following structure:
authenticatedUser: {
id: "XXXXXX",
descriptor: "Microsoft.IdentityModel.Claims.ClaimsIdentity;EEEEEE\jgafner@dorkag.com",
subjectDescriptor: "aad.XXXX",
providerDisplayName: "jonathan gafner",
isActive: true,
properties: {
Account: {
$type: "System.String",
$value: "jgafner@dorkag.com"
}
},
resourceVersion: 2,
metaTypeId: 0
},
authorizedUser: {
id: "XXXXXX",
descriptor: "Microsoft.IdentityModel.Claims.ClaimsIdentity;EEEEEE\jgafner@dorkag.com",
subjectDescriptor: "aad.XXXXXX",
providerDisplayName: "jonathan gafner",
isActive: true,
properties: {
Account: {
$type: "System.String",
$value: "jgafner@dorkag.com"
}
},
resourceVersion: 2,
metaTypeId: 0
},
instanceId: "EEEE",
deploymentId: "EEEE",
deploymentType: "hosted",
locationServiceData: {
serviceOwner: "XXXXX",
defaultAccessMappingMoniker: "PublicAccessMapping",
lastChangeId: 43474974,
lastChangeId64: 43474974
}
}```
Hey @Jonatha1983 The Output ist exactly the same, only the ids are diffrent but this is expected :D
The Structure of our Team ist Organization/Project/Repo and i cant choose a other diffrent repository to work on ist that normal ? But i have the access rights for the other repos.
Hi @MrBalum
Can you check this version - should have a fix
https://github.com/edgafner/dorkag/issues/62#issuecomment-1962433366
I uploaded to the EAP channel a version that should work for your case:
Version 2024.1.28
https://plugins.jetbrains.com/plugin/22319-azd/edit/versions/eap
Just so you know, you must remove the old user if you have one - I tested this multiple times with different scenarios. I am pretty sure it should work well for your scenario, but please let me know if not.
Hey @Jonatha1983
i tried the new version and it seems like that this fix is incompatible with the whitespace in our Project Name
You need to remove old account - you can do it under settings > version control >azure devops
Then login again
I removed the old account reinstalled the plugin and used following server Syntax
And that is the error you got?
Thats the ERROR: Could not connect to repository https://dev.azure.com/DEXPRO/DEXPRO%20Platform with account https://dev.azure.com/MrBalum@dexpro.de HTTP Request Request GET https://dev.azure.com/DEXPRO%2FDEXPRO%2520Platform%2F_apis%2Fgit%2Frepositories%2FSQUEEZE?includeParent=true&api-version=7.2-preview.1 failed with status code 404 and response body
Im acutally searching for the debug logs of the plugin to provide more informations
It is ok - I will upload in few hours a new version with a fix If you have a project without spaces to check will be great
You used the Pat token as is copied from azure devops rigth? Thanks for reporting
@MrBalum New EAP version: https://plugins.jetbrains.com/plugin/22319-azd/edit/versions/eap 2024.1.29 I tested it with organization, project, and repo with white spaces, and it worked.
Please let me know if it fixes this issue.
@Jonatha1983 great thanks to you my friend ! Hard work pays off ! It is working perfectly, the abillity of appoving is given ! Close that bug
@MrBalum, thank you for the update!!
If you could spare 20 seconds, I would greatly appreciate a kind review on the plugin marketplace page.
Your feedback helps me promote the plugin and continue dedicating time to its improvement.
Thanks!
You need to remove old account - you can do it under settings > version control >azure devops
Then login again
@olegpoltora
Describe the bug I can't see button for approving a pull request as I can see at screenshot at plugin's info page.
Screenshots It's YOUR screenshot at plugin's page:![image](https://github.com/edgafner/dorkag/assets/66324201/7191ac52-ff7d-41ad-98f1-61cd578f4fd7)
It's mine photo (sorry for quality):![20240120_145200](https://github.com/edgafner/dorkag/assets/66324201/bc15fc97-2cba-4b5c-8ec5-1630e0fd30b1)
Desktop (please complete the following information):
JetBrains IDE (please complete the following information):