﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21791	RelatedFieldWidgetWrapper object has no attribute decompress	Dylann CORDEL	nobody	"Hi,

I'm still a newbie with Django, Django CMS and even Python... So, I apologize if it's not a ""bug"" but a misunderstanding of how it works.

The easiest way to reproduce this bug :
* use the FilerImagePlugin in Django CMS to use in a placeHolder
* add an Image and save this placeHolder
* then, try to modify and save again the placeHolder : the error occurs.

I believe that the RelatedFieldWidgetWrapper class should have his own ""decompress""  function which only do a call of the widget's decompress function like this : 
    
{{{
def decompress(self, initial):
    return self.widget.decompress(initial)
}}}

My complete traceback is here : http://dpaste.com/hold/1554861/"	Bug	closed	contrib.admin	1.6	Normal	worksforme			Unreviewed	0	0	0	0	1	0
