#28866: merge method of class Media doesn't work properly
---------------------------------+--------------------------------------
     Reporter:  clincher         |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Forms            |                  Version:  2.0
     Severity:  Release blocker  |               Resolution:
     Keywords:  forms, media     |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by Tim Graham):

 * cc: Johannes Hoppe (added)
 * type:  Uncategorized => Bug


Comment:

 How do you propose to solve the problem described in #28377 if the merging
 logic is removed?

 Is it impossible to modifying the ordering of your lists so the warning
 doesn't happen? This is documented as a backwards incompatible change in
 the [https://docs.djangoproject.com/en/dev/releases/2.0/#miscellaneous
 Django 2.0 release notes]:

 > In older versions, forms and formsets combine their `Media` with widget
 `Media` by concatenating the two. The combining now tries to
 [https://docs.djangoproject.com/en/dev/topics/forms/media/#form-media-
 asset-order preserve the relative order of elements in each list].
 `MediaOrderConflictWarning` is issued if the order can’t be preserved.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28866#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.a7c19e9ec0aa08270e7f756ccbaad7dd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to