Utilizing a typical edit page that populates 4 blobs using UploadableMedia just like roster.
Operating a clean checkout...
This behavior is very worrisome. Everythign runs fine without crash.
Here is the edit page
Adminlayout
- background
- header
- logo
- splash
All are rigged up for RenderType.Image... as follows...
@BlobDescriptor(renderType = RenderType.IMAGE, contentDisposition = ContentDisposition.ATTACHMENT)
@PropertyDescriptor(summary = true)
@OneToOne(cascade = CascadeType.ALL)
public UploadableMedia getHeader()
{
return header;
}
@BlobDescriptor(renderType = RenderType.IMAGE, contentDisposition = ContentDisposition.ATTACHMENT)
@PropertyDescriptor(summary = true)
@OneToOne(cascade = CascadeType.ALL)
public UploadableMedia getLogo()
{
return logo;
}
@BlobDescriptor(renderType = RenderType.IMAGE, contentDisposition = ContentDisposition.ATTACHMENT)
@PropertyDescriptor(summary = true)
@OneToOne(cascade = CascadeType.ALL)
public UploadableMedia getBackground()
{
return background;
}
@BlobDescriptor(renderType = RenderType.IMAGE, contentDisposition = ContentDisposition.ATTACHMENT)
@PropertyDescriptor(summary = true)
@OneToOne(cascade = CascadeType.ALL)
public UploadableMedia getSplash()
{
return splash;
}
On First pass edit... the splash is being swapped into other property fields including the name and also the render type is malfunctioning too.
Alejandro, could you operate roster to see this?
I am very worried about this.
My first guess is that this is an OGNL issue whereby OGNL is passing in the wrong PropertyDescriptor consistently.
Unles someone proves otherwise... we are not out of the woods yet with OGNL and it is serious.