42
Views
6
Comments
Solved
Validation messages shown instead of module validation messages

Last week we have (finally) upgraded OutSystems UI from 2.7.3 to Outsystems UI 2.18.0. Since this upgrade our own module validation message for our Reactive front-end module do not show up anymore, instead it seems the validation messages defined on the OutSystems UI module are shown. 

In our front-end module we replaced the standard ones with Dutch messages, no multilingual locale is defined on this module. See picture:

What we see in the browser if the user does not fill in a mandatory field is now either Required field! or Verplicht veld! depending on the user locale. 

en_NL locale:

nl_NL locale:

I expected to see the "Dit veld is verplicht." error like it used to show before this upgrade, no matter which locale. The behaviour is consistent for all other built-in validations.


The only difference regarding these validation messages I could find in OutSystems UI is that they now have translated those messages for Dutch as well. 

Can anybody help us understand why this is no longer working as we expected? Thanks

Solution

Hi @Karin Soutberg 

The team responsible for the translations on validation messages just confirmed this is an issue on their end (not in OS UI itself) where the OS UI wrongly override the translations of the entry point app (consumers).
Since something on the platform can imply quite some time to be out we have two things we'll do since there's no workaround for this:

  • suggest using version 2.16.0 for now
  • we'll prepare a new release of OutSystems UI to mitigate this and force the validation messages not to be translated so they won't impact the consumer apps (no ETA at this time but somewhere until the end of the month)

Cheers,
GM

Hello @Karin Soutberg 

Can you please indicate the Platform Server version you're using? 
Did you recently upgrade your Platform Server (if so which was the previous version)?
The validation messages are part of the platform core itself, not OutSystems UI so if that happened it shouldn't be from OutSystems UI side but please provide this information so we can try to investigate what changed.

Cheers,
GM

Hello @Karin Soutberg 

I was indeed able to reproduce this and is definitely not something on the OutSystems UI side. While navigating an app it doesn't work like you just shared but when doing a reload on the screen it works as expected (please ignore the translations in the GIF since I just did a quick test using Google Translations😅)
Will redirect this internally to the core teams.

Cheers,
GM

IssueTranslations.gif


Good morning Gonçalo,

Thanks for the investigation. We have not recently upgraded our platform version. The only major change was the OutSystems UI upgrade, that's why we thought it was related to that. 

When I do a reload of our screen I still see Required field unfortunately. 

Would love to hear if there's an update from the core teams. Thanks in advance!

Hello @Karin Soutberg 

Would it be possible to share (even in DM) the module where you're getting that so ew can check the implementation and try to replicate it?
And which Platform Server version are you using?

Cheers,
GM

Hi Gonçalo,

I tried creating a demo module but there the messages seem to work just fine.. Our platform version is 11.18.1. I will go ahead and create a support ticket for this so I can share the module there.  Thanks for your help so far!

Kind regards,

Karin

Solution

Hi @Karin Soutberg 

The team responsible for the translations on validation messages just confirmed this is an issue on their end (not in OS UI itself) where the OS UI wrongly override the translations of the entry point app (consumers).
Since something on the platform can imply quite some time to be out we have two things we'll do since there's no workaround for this:

  • suggest using version 2.16.0 for now
  • we'll prepare a new release of OutSystems UI to mitigate this and force the validation messages not to be translated so they won't impact the consumer apps (no ETA at this time but somewhere until the end of the month)

Cheers,
GM

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.