On 2016-10-27 12:24 (+0200), Martin Grigorov <mgrigo...@apache.org> wrote: > On Thu, Oct 27, 2016 at 12:19 PM, Francesco Chicchiriccò < > ilgro...@apache.org> wrote: > > > On 2016-10-27 11:26 (+0200), Martin Grigorov <mgrigo...@apache.org> wrote: > > > Hi, > > > > > > On Thu, Oct 27, 2016 at 10:28 AM, Francesco Chicchiriccò > > > <ilgro...@apache.org> wrote: > > > > > > > Hi all, > > > > I am trying to upgrade the Apache Syncope console from 7.4.0 to recent > > > > 7.5.0, but I am experiencing some troubles. > > > > > > > > First, I had to remove > > > > > > > > <wicket:message key="submit"/> > > > > > > > > from [1], since Wicket was complaining that the <button> element had > > to be > > > > closed (?): now things are working fine again (as it used to do up to > > > > 7.4.0), but I honestly do not understand why. > > > > > > > > > > What do you mean by "now it works fine" ? > > > How do you get the i18n-ed value of "submit" now ? > > > > This was answered by Sven. > > > > > > Now I am getting [2] and AFAIU this depends on the fact that the > > > > WebSocketSettings I am using in [3] have a null or empty > > 'filterPrefix': > > > > again, this works perfectly fine with 7.4.0. > > > > > > > > > > Please file a bug for [2]. It is a regression. > > > > Sure: WICKET-6262 > > > > Thanks! > > > > > > Any clever workaround, in the meanwhile? > > > > The only way I see is to copy/paste the whole #renderHead() and replace Args > .notEmpty(filterPrefix, "filterPrefix"); with Args.notNull(filterPrefix, " > filterPrefix"); >
Unfortunately, BaseWebSocketBehavior#resourceName is private... > > > > > Most probably [1] is also a bug but I have to try it. Please create a > > > ticket for it too. > > > > Given Sven's reply, I will not create a ticket for this. > > > > I'll see whether it is possible to give a better error message > > > > > > Thanks for your support. > > Regards. > > > > > > Any hint? Thanks. > > > > Regards. > > > > > > > > [1] https://github.com/apache/syncope/blob/2_0_X/client/ > > > > console/src/main/resources/org/apache/syncope/client/ > > > > console/pages/Login.html#L58-L59 > > > > [2] https://paste.apache.org/YSzq > > > > [3] https://github.com/apache/syncope/blob/2_0_X/client/ > > > > console/src/main/java/org/apache/syncope/client/console/ > > > > pages/BasePage.java#L91 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org