You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected the module to load and add DecapCmsBackendGitlab to the global scope the way netlify-cms-backend-gitlab.js would do for NetlifyCmsBackendGitlab, but it doesn't.
Screenshots
The UI seems to load fine though:
Applicable Versions:
Decap CMS version: 3.1.3
Git provider: -
OS: Debian 12 (stable)
Browser version: Chromium 130.0.6723.58
CMS configuration
backend:
name: gitlabbranch: main # Branch to update (optional; defaults to master)repo: tinia-euregio/tinia-websitemedia_folder: "images/uploads"# Media files will be stored in the repo under images/uploadscollections:
- name: "blog"# Used in routes, e.g., /admin/collections/bloglabel: "Blog"# Used in the UIfolder: "_posts/blog"# The path to the folder where the documents are storedcreate: true # Allow users to create new documents in this collectionslug: "{{year}}-{{month}}-{{day}}-{{slug}}"# Filename template, e.g., YYYY-MM-DD-title.mdfields: # The fields for each document, usually in front matter
- { label: "Title", name: "title", widget: "string" }
Additional context
We have forked decap-cms-backend-gitlab as let's say decap-cms-backend-gitlab-forked and we were trying to load it as in:
Describe the bug
When I serve
index.html
andconfig.yml
listed below with a test webserver (for examplepython3 -m http.server
then open http://localhost:8000) I get:Additionally if I add:
it fails with:
To Reproduce
index.html
:Expected behavior
I expected the module to load and add
DecapCmsBackendGitlab
to the global scope the waynetlify-cms-backend-gitlab.js
would do forNetlifyCmsBackendGitlab
, but it doesn't.Screenshots
The UI seems to load fine though:
Applicable Versions:
CMS configuration
Additional context
We have forked
decap-cms-backend-gitlab
as let's saydecap-cms-backend-gitlab-forked
and we were trying to load it as in:and started getting similar errors.
So I wondered "is it our fork or upstream?" and tried loading your version (I know it's not strictly required, as the gitlab backend is built-in).
The text was updated successfully, but these errors were encountered: