You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "mindlesscloud (via GitHub)" <gi...@apache.org> on 2023/02/28 13:05:18 UTC

[GitHub] [incubator-devlake] mindlesscloud opened a new pull request, #4546: fix: bitbucket got invalid page error on collecting pr commit

mindlesscloud opened a new pull request, #4546:
URL: https://github.com/apache/incubator-devlake/pull/4546

   ### Summary
   For the endpoint `repositories/{workspace}/{repository-slug}/pullrequests/{id}/commits?page={page}`, if the page was set too large, the response status code would be 400, with the body:
   ```json
   {"type": "error", "error": {"message": "Invalid page"}}
   ```
   It is fixed by setting `AfterResponse` to `ignoreSomeHTTPStatus(http.StatusNotFound)`
   
   ### Does this close any open issues?
   Closes #4539
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mindlesscloud closed pull request #4546: fix: bitbucket got invalid page error on collecting pr commit

Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud closed pull request #4546: fix:  bitbucket got invalid page error on collecting pr commit
URL: https://github.com/apache/incubator-devlake/pull/4546


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mindlesscloud commented on pull request #4546: fix: bitbucket got invalid page error on collecting pr commit

Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud commented on PR #4546:
URL: https://github.com/apache/incubator-devlake/pull/4546#issuecomment-1448213087

   It was fixed by #4292 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] likyh commented on pull request #4546: fix: bitbucket got invalid page error on collecting pr commit

Posted by "likyh (via GitHub)" <gi...@apache.org>.
likyh commented on PR #4546:
URL: https://github.com/apache/incubator-devlake/pull/4546#issuecomment-1448175989

   This issue cause by: https://github.com/apache/incubator-devlake/pull/4292


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org