Skip to content

Milestone editing javascript needs test coverage #3196

@ietf-svn-bot

Description

@ietf-svn-bot

owner:jennifer@painless-security.com resolution_fixed type_defect | by rjsparks@nostrum.com


The plumbing for the javascript enabling edits at
https://datatracker.ietf.org/group/acronym/milestones/
has become disconnected.

My guess is an underlying library update cause breakage.

This needs both to be fixed, and for a set of tests that exercise the javascript to be added.

Uncaught TypeError: c is undefined
    createChoice https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:22
    addSelectedChoice https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:22
    jQuery 2
    addSelectedChoice https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:22
    updateSelection https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:22
    initSelection https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:22
    initSelection https://www.ietf.org/lib/dt/7.26.0/ietf/js/select2-field.js:55
    initSelection https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:22
    init https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:21
    select2 https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:23
    jQuery 2
    select2 https://www.ietf.org/lib/dt/7.26.0/select2/select2.min.js:23
    setupSelect2Field https://www.ietf.org/lib/dt/7.26.0/ietf/js/select2-field.js:11
    <anonymous> https://www.ietf.org/lib/dt/7.26.0/ietf/js/select2-field.js:69
    jQuery 2
    <anonymous> https://www.ietf.org/lib/dt/7.26.0/ietf/js/select2-field.js:65
    jQuery 4
select2.min.js:22:28909

Issue migrated from trac:3196 at 2022-03-04 08:11:11 +0000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions