Developer forum

Forum » Ecommerce - Standard features » Error translating validation groups

Error translating validation groups

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I am getting an error when trying to translate a validation group. Here are my steps:

  1. Go to Settings | Ecommerce | Orders | Validation Groups
  2. Make sure you are in the primary language
  3. Open an existing validation group
  4. On the toolbar, switch to the language of your choice
  5. Enter a new name
  6. Click Save and close

Expected results:
The group is saved and linked to the selected language

Actual results:
I get the following error:

Note that the error mentions ENU which is the ID of an existing language in the database. We have renamed the languages to match the IDs in the ERP, so we don't have LANG1 anymore. ENU is the ID of my primary language so it appears it tries to insert another record for that language, not my selected one (which would have been FRA in my case).

Help?

Thanks!

Imar


Replies

 
Nicolai Pedersen
Reply

Hi Imar

 Just tried on 9.12 that seems to work. 9.12 has a different approach to languages (as you do no longer have to translate a group for it ti be there).

I have asked QA to test it on 9.10.

BR Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Thanks, I am indeed trying this on 9.10 (on 9.10.10 to be exact)

Thanks!

Imar

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

I've checked Imar's scenario on couple of Rapido solutions based on last DW9.10.15 admin - first one has default languages and second one contains couple languages with IDs (ENU and FRA) updated manually via SQL command per the comments above and was not able to catch any issue. Here is my video shows the check.

BR, Oleg QA 

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Imar

I have found the bug. It happens if you create a language after you created a validation group. We will bug it and supply a fix.

A temp workaround is to delete the validation groups and create them again - or fiddle the database...

Sorry about the inconvenience.

Nicolai

Votes for this answer: 1
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Thanks Nicolai. I only have a few groups and a few languages so I'll create them directly in the database for now.

Thanks!

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi

New 5202 has been created to fix the bug. Thanks for finding.

BR, Oleg QA

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Imar

#5202 has been fixed in Dynamicweb version 9.10.17

Release Download from https://doc.dynamicweb.com/downloads/releases

Sorry about the inconvenience.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum