Issue Description
It's not possible to choose DB backend when a new instance is created.
And for existing instances WebUI expects dsconf to return BDB specific parameters. For example, a page throws an Oops... when I navigate to Database tab on an instance with LMDB backend:
Uncaught TypeError: Cannot read properties of undefined (reading '0')
at Function.<anonymous> (database.jsx:251:55)
at process_queue (cockpit.js:1311:37)
at cockpit.js:1324:35
at later_drain (cockpit.js:1205:13)
Package Version and Platform:
Platform: Fedora
Package and version: main branch
Browser: Firefox
Steps to Reproduce
Steps to reproduce the behavior:
Create a new instance with MDB backend
Go to Database tab
Observe an Oops...
Expected results
WebUI should support instances with both BDB and LMDB backends and not crash if some attributes are not available.
Issue Description It's not possible to choose DB backend when a new instance is created. And for existing instances WebUI expects
dsconf
to return BDB specific parameters. For example, a page throws an Oops... when I navigate toDatabase
tab on an instance with LMDB backend:https://github.com/389ds/389-ds-base/blob/1f95b57fb8b03f72c7d2a2ce5b14eed5ba320407/src/cockpit/389-console/src/database.jsx#L251
Package Version and Platform:
Steps to Reproduce Steps to reproduce the behavior:
Expected results WebUI should support instances with both BDB and LMDB backends and not crash if some attributes are not available.