Bug 1799028
| Summary: | RHDS 11.1: Clicking into combobox fields cause Cockpit to crash | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | Marc Muehlfeld <mmuehlfe> | ||||||
| Component: | cockpit-389-ds | Assignee: | mreynolds | ||||||
| Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 11.0 | CC: | pasik, sgouvern, spichugi, tbordaz, vashirov | ||||||
| Target Milestone: | DS11.1 | ||||||||
| Target Release: | dirsrv-11.2 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 389-ds-base-1.4.3.11-1.module+el8dsrv+7557+bc264682 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
Cause: Clicking on typeahead comboboxes in the UI
Consequence: The console would crash
Fix: Properly populate the typeAhead comboboxes
Result: THe UI does not crash when clicking on comboboxes
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-11-04 10:53:12 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Marc Muehlfeld
2020-02-06 13:35:56 UTC
In the console log (press F12) are you seeing typeAhead errors? If so, we already have a fix for this that will be coming out soon. If the crash is not caused by typaAhead then please share the console log errors. Created attachment 1658228 [details]
Screenshot Console
I attached a screenshot of the console.
The two errors were logged when I clicked into the "Attribute Names" field (Attribute Uniqueness plug-in).
I don't know if this is related, but I found another situation where Cockpit crashes (requires a replication setup): 1. Open the "Monitoring" tab. 2. Select "Replication" entry. 3. On the "Agreements" tab, open the "Actions" menu. 4. Click "View Agreement Details" (In reply to Marc Muehlfeld from comment #3) > I don't know if this is related, but I found another situation where Cockpit > crashes (requires a replication setup): > > 1. Open the "Monitoring" tab. > 2. Select "Replication" entry. > 3. On the "Agreements" tab, open the "Actions" menu. > 4. Click "View Agreement Details" This works fine for me, what is your setup exactly? (In reply to mreynolds from comment #4) > (In reply to Marc Muehlfeld from comment #3) > > I don't know if this is related, but I found another situation where Cockpit > > crashes (requires a replication setup): > > > > 1. Open the "Monitoring" tab. > > 2. Select "Replication" entry. > > 3. On the "Agreements" tab, open the "Actions" menu. > > 4. Click "View Agreement Details" > > This works fine for me, what is your setup exactly? I set up a single-master replication environment on RHEL 8.2 beta by following this procedure: http://ccs-jenkins.gsslab.brq.redhat.com:8080/job/doc-Red_Hat_Directory_Server-Administration_Guide-branch-mmuehlfe_RHELPLAN-29954/lastSuccessfulBuild/artifact/tmp/en-US/html-single/index.html#setting_up_single-master_replication_using_the_web_console The only differences: - Both instances run on the same host - The consumer instance uses port 1389 and 1636 Replication works. Status is: "Error (0) Replica acquired successfully: Incremental update succeeded" However, if I try to display the replication agreement details, Cockpit crashes. If you want, you can access my VM via SSH/Cockpit. Ping me on IRC. Build tested: cockpit-389-ds-1.4.2.12-1.module+el8dsrv+6328+f04d7471.noarch If there is no suffix created, and I try to add attribute uniqueness plugin, clicking on an empty element in Subtree DN causes cockpit to crash. Marking as ASSIGNED. Created attachment 1680266 [details]
attribute uniqueness dialog
Upstream ticket: https://pagure.io/389-ds-base/issue/51169 Build tested: cockpit-389-ds-1.4.2.12-3.module+el8dsrv+6923+6ab1d5c5.noarch It is still crashing with the steps from #c8 TypeError: Cannot read property 'paginationOption' of undefined Moving to ASSIGNED. The change needs to be included into the new build. https://pagure.io/389-ds-base/issue/51169 with build 389-ds-base-1.4.3.11-1.module+el8dsrv+7557+bc264682.x86_64 cockpit-389-ds-1.4.3.11-1.module+el8dsrv+7557+bc264682.noarch I tried all steps described above, plus more. I didn't reproduce any crash. Marking as Verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Directory Server bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4911 |