Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352333

Summary: Compile Errors at Input Validation after FormData Generation
Product: z_Archived Reporter: Claudio Guglielmo <claudio.guglielmo>
Component: ScoutAssignee: Project Inbox <scout.sdk-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Andreas.Hoegger, zimmermann
Version: unspecifiedFlags: zimmermann: indigo+
zimmermann: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Sample scout project
none
patch proposal zimmermann: iplog+

Description Claudio Guglielmo CLA 2011-07-18 07:23:38 EDT
Build Identifier: 3.7.0

The generation of the formdata does not work if there is a field which delegates the getConfiguredXy to another class. 

Example: 

  @Order(10.0)
  public class Field1 extends AbstractStringField {

    @Override
    protected boolean getConfiguredMandatory() {
      return getConfiguredField1Mandatory();
    }
  }


This is used a lot when using template group boxes to configure the fields inside. 

Please either try to resolve the delegation or ignore this style of code for the input validation.

Reproducible: Always
Comment 1 Claudio Guglielmo CLA 2011-07-18 07:58:04 EDT
Created attachment 199822 [details]
Sample scout project
Comment 2 Matthias Villiger CLA 2011-08-26 08:39:19 EDT
Created attachment 202224 [details]
patch proposal
Comment 3 Matthias Villiger CLA 2011-08-26 08:39:43 EDT
patch proposal applied
Comment 4 Andreas Hoegger CLA 2011-09-09 03:16:37 EDT
patch applied for indigo SP1. Thank you Matthias.
Comment 5 Matthias Zimmermann CLA 2011-10-10 12:56:58 EDT
shipped with scout 3.7.1
Comment 6 Matthias Zimmermann CLA 2011-10-11 11:41:10 EDT
removed iplog flag from ticket and added iplog flag to attachment