Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tranformedGroups causes error #3

Open
fschrempf opened this issue Nov 12, 2022 · 0 comments
Open

Missing tranformedGroups causes error #3

fschrempf opened this issue Nov 12, 2022 · 0 comments

Comments

@fschrempf
Copy link

Currently it's not possible to have a config without or with empty tranformedGroups, even if no translations between CT and LDAP groups are required.

[16:06:03.852] ERROR (7): Cannot read properties of undefined (reading 'forEach')
    err: {
      "type": "TypeError",
      "message": "Cannot read properties of undefined (reading 'forEach')",
      "stack":
          TypeError: Cannot read properties of undefined (reading 'forEach')
              at exports.getChurchToolsData (/ldap/src/ctservice.js:106:20)
              at initCache (/ldap/src/main.js:20:33)
              at exports.start (/ldap/src/main.js:73:34)
              at run (/ldap/index.js:78:24)
              at Object.<anonymous> (/ldap/index.js:89:1)
              at Module._compile (node:internal/modules/cjs/loader:1119:14)
              at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
              at Module.load (node:internal/modules/cjs/loader:997:32)
              at Module._load (node:internal/modules/cjs/loader:838:12)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant