History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: TRAILS-87
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Alejandro Scandroli
Reporter: Ken in nashua
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Trails

Property Editor is broken ... serious flawed behavior semantics 4.1.2 Branch

Created: 03/Aug/07 12:55 PM   Updated: 20/Aug/07 03:09 AM
Component/s: None
Affects Version/s: 1.1.0
Fix Version/s: 1.1.0

Time Tracking:
Not Specified

File Attachments: 1. Microsoft Word 4.1.2-property.editor.corruption.doc (258 kb)
2. Text File page.source.txt (2 kb)

Environment: XP Pro, eclipse-3.2.1, jetty, OGNL-2.7.1-SNAPSHOT, tapestry-4.1.2


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ken in nashua - 03/Aug/07 01:03 PM
This attachment shows how the URL's for the property editor in quesiton (BlobEditor) are mauled.

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.


Kalle Korhonen - 20/Aug/07 03:09 AM
OGNL issue, not a Trails one. Use 2.7.1 (snapshot if needed) or later to fix.