Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views_ui.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Mar 2015 at 18:16 UTC
Updated:
4 Apr 2015 at 00:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cilefen commentedComment #2
cilefen commentedI removed the inline comment also because the function doc for resetSeenIds is clear enough.
Comment #3
dawehnerWhy do we loose the documentation here?
Comment #4
cilefen commented@dawehner I said in #2 it seems redundant. Disagree? I don't feel strongly about it either way though.
Comment #5
cilefen commentedThis is with the comment.
Comment #6
dawehnerThank you for that!
Comment #7
alexpottThis is a bug because this code can't be working at this point. Any chance we can add a test for this?
Comment #8
cilefen commentedI think there is no need to reset the seen IDs here because the ID of preview form wrapper is always
views-preview-wrapper. This class never tries to generate an ID.Comment #9
cilefen commentedComment #10
dawehnerAre you sure we also use no ID at all for CSS and what not?
Comment #11
cilefen commentedI am not totally sure. But it looks as though the Ajax wrapper IDs are hardcoded in this form so this serves no purpose. This static isn't set anywhere nor is
$seen_ids_initeven used.Comment #12
wim leersIsn't this simply dead, obsolete code? Grep HEAD for
drupal_html_id, this is the only match. So I don't see why we'd need tests for that?Exactly. And on top of that, the
Htmlclass is only used to generate a unique ID if#idisn't already set — see this inFormBuilder:Comment #13
cilefen commentedComment #14
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed e219cb9 and pushed to 8.0.x. Thanks!