Hi Francesco, > So, this must be the issue: with Chrome, Enter submits the whole form, with Firefox instead the "Add" button in the derived attributes > tab is triggered. Odd...
Cool, that's the error alright (on Firefox). Hitting 'enter' in either a attribute or virtual attribute textbox causes an extra derived attribute entry to be added! I'll take a look and see what's going on. Colm. On Thu, Jan 31, 2013 at 4:59 PM, Francesco Chicchiriccò <ilgro...@apache.org > wrote: > On 31/01/2013 17:44, Colm O hEigeartaigh wrote: > >> Hi Francesco, >> >> However, I am not sure to understand exactly how to replicate this: are >>> you creating an user and hitting enter when populating attribute values? If >>> so, I guess this happens with roles as well, isn’t it? >>> >> Yep exactly. Fill in username + password, enter some random string for an >> attribute + hit enter in the textbox when done. Then continue + select >> resource, and finally hit "submit". It works when I don't hit enter on the >> attribute, and fails when I do. I haven't tried with roles. >> >> Another possibility might simply be that enter is key-bound to form >>> submit... >>> >> Possibly, although it doesn't try to submit straight away. The error crops >> up when I click on "submit". >> > > Colm, > I was trying to replicate this misbehavior with Chrome without any luck > because hitting Enter just caused the whole form to submit (as said), then > I moved to Firefox and replicated the same problem. > > By doing so I have noticed that the number of warnings ('Schema' is > required) was the same as empty derived attributes that resulted added > under the respective tab. > > So, this must be the issue: with Chrome, Enter submits the whole form, > with Firefox instead the "Add" button in the derived attributes tab is > triggered. Odd... > > Do you have an idea about how to fix this? > > Regards. > > > On Thu, Jan 31, 2013 at 4:40 PM, Francesco Chicchiriccò < >> ilgro...@apache.org >> >>> wrote: >>> On 31/01/2013 17:28, Colm O hEigeartaigh wrote: >>> >>> Hi guys, >>>> >>>> I'm seeing a console error on trunk somewhat similar to SYNCOPE-297. The >>>> scenario here is the propagation of a user with a simple User attribute >>>> to >>>> a backend. If I enter the attribute without hitting 'enter' it >>>> propagates >>>> fine. If I create another user, enter the value for the attribute + hit >>>> enter, then go on to select the resource etc., I get an error message >>>> saying that "'Schema' is required". >>>> >>>> Any ideas on what might be causing this? >>>> >>>> Hi Colm, >>> it sounds like the same problem we fixed in SYNCOPE-297, i.e. basically a >>> partial Ajax submit that should be avoided (as the patch for SYNCOPE-297 >>> did). >>> >>> However, I am not sure to understand exactly how to replicate this: are >>> you creating an user and hitting enter when populating attribute values? >>> If >>> so, I guess this happens with roles as well, isn’t it? >>> >>> Another possibility might simply be that enter is key-bound to form >>> submit... >>> >>> Regards. >>> >> > -- > Francesco Chicchiriccò > > ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member > http://people.apache.org/~**ilgrosso/<http://people.apache.org/~ilgrosso/> > > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com