Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352333 - Compile Errors at Input Validation after FormData Generation
Summary: Compile Errors at Input Validation after FormData Generation
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 07:23 EDT by Claudio Guglielmo CLA
Modified: 2021-08-19 11:03 EDT (History)
2 users (show)

See Also:
zimmermann: indigo+
zimmermann: juno+


Attachments
Sample scout project (142.36 KB, application/zip)
2011-07-18 07:58 EDT, Claudio Guglielmo CLA
no flags Details
patch proposal (5.01 KB, patch)
2011-08-26 08:39 EDT, Matthias Villiger CLA
zimmermann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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