Comment 2 for bug 2042610

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gui (master)

Reviewed: https://review.opendev.org/c/starlingx/gui/+/899998
Committed: https://opendev.org/starlingx/gui/commit/7ce032a63910990dfcecbc4d81833f4cc0879cc1
Submitter: "Zuul (22348)"
Branch: master

commit 7ce032a63910990dfcecbc4d81833f4cc0879cc1
Author: Wentao Zhang <email address hidden>
Date: Fri Nov 3 11:43:00 2023 +0800

    Fix the problem that patch upload fails of horizon

    https://github.com/django/django/commit/fb4c55d9ec4bb812a7fb91fa20510d91645e411b
    This commit disables FileField for uploading multiple files
    directly and introduces a new method as a replacement.
    the upgrade of python3-django from 2:2.2.28-1~deb11u1 to
    2:2.2.28-1~deb11u2 includes this commit.
    Replace FileField with MultipleFileField for uploading multiple files.
    Refer to the method introduced in the commit to replace
    the previous usage.

    Test Plan
    PASS: build-pkgs -c -p starlingx-dashboard && build-image
    PASS: jenkins installation successfuly
    PASS: upload a patch using Horizon Web interface successfully

    Closes-Bug: 2042610

    Change-Id: I7bb4a0db7621922e5f1c8811ec3f49be4a37d1a5
    Signed-off-by: Wentao Zhang <email address hidden>