decaporg / decaporg/decap-cms

Bitbucket backend firing several identical requests

Open
#3,762 6 comments 0 reactions 0 assignees View on GitHub
status: unconfirmed type: bug
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Describe the bug**
I've recently migrated repository from github to bitbucket and to my surprise I've quickly exhausted API limit. I've checked that bitbucket has lower api request limit (1000requests/h compared to github's 5000requests/h). However, I was surprised that the limit exceeded so fast. Upon further investigation I've noticed in Chrome's network tab that when visiting collection entry (blog post). Several requests to my branch (qa - on attached screenshot) are being fired in rapid succession and both request as well as response seems to be identical for all of them. I couldn't find any info about it so I assume it might be a bug.

**To Reproduce**
Connect CMS with bitbucket backend and got CMS panel (/admin). Turn on chrome dev tools and select network. Go to entry within collection. You should be able to see several requests (with branch name, on screenshot - qa) being fired.
![image](https://user-images.githubusercontent.com/62745213/82065171-0d5f4c00-96ce-11ea-9b1a-7d09418ec47e.png)

**Applicable Versions:**

Netlify CMS version: netlify-cms-app 2.12.12, netlify-cms-core 2.26.0, netlify-cms 2.10.48
Git provider: Bitbucket
OS: macOS Catalina v10.15.3
Browser version: Chrome 80.0.3987.149

**CMS configuration:**
Not related to the error

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.