Pim-community-dev: PROPERTY "COMPLETENESS" EXPECTS A VALID LOCALE

Created on 12 Sep 2018  路  3Comments  路  Source: akeneo/pim-community-dev

I'm reporting a Bug

Hello, I'm using the last version (2.3.7). Using a simple export of product model, I get this error :

PROPERTY "COMPLETENESS" EXPECTS A VALID LOCALE

what does that mean, and how to fix please ?

Most helpful comment

Hello,
this problem occurs when

  1. you create a product model export job (like csv export)
    and don't change completeness value http://i.prntscr.com/9GgMACi8RVmYock6lV1j4w.png
  2. then run job

workaround
change completeness value (you can even revert to same value after changing dropdown value twice)
and run export job

Some more insight
job parameters for job instance with error: http://i.prntscr.com/KEpGLU0gTQmOTabrWF5C6Q.png
job parameters for job instance without error:http://i.prntscr.com/Kj45zeEeRuyN3qutgyEl8w.png

Possible solutions: Add context in default values for product model jobs based on default locales
maybe add context in file AkeneoPimEnrichmentComponentProductConnectorJobJobParametersDefaultValueProviderProductModelCsvExport and others like xls etc

All 3 comments

16:51:34 ERROR [batch] Encountered an error executing the step: Property "completeness" expects a valid locale. [] []
An error occurred during the export execution.
Error #305 in class AkeneoComponentStorageUtilsExceptionInvalidPropertyException: Property "completeness" expects a valid locale.
16:51:34 ERROR [batch] Encountered an error executing the step: Property "completeness" expects a valid locale. [] []

Hello,
this problem occurs when

  1. you create a product model export job (like csv export)
    and don't change completeness value http://i.prntscr.com/9GgMACi8RVmYock6lV1j4w.png
  2. then run job

workaround
change completeness value (you can even revert to same value after changing dropdown value twice)
and run export job

Some more insight
job parameters for job instance with error: http://i.prntscr.com/KEpGLU0gTQmOTabrWF5C6Q.png
job parameters for job instance without error:http://i.prntscr.com/Kj45zeEeRuyN3qutgyEl8w.png

Possible solutions: Add context in default values for product model jobs based on default locales
maybe add context in file AkeneoPimEnrichmentComponentProductConnectorJobJobParametersDefaultValueProviderProductModelCsvExport and others like xls etc

Hi @grabelle!

Did you still have a problem or can we close this issue?

Regards,

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kanduvisla picture kanduvisla  路  3Comments

pardahlman picture pardahlman  路  4Comments

ronthedrummer picture ronthedrummer  路  3Comments

gotgelf picture gotgelf  路  5Comments

Jacky75 picture Jacky75  路  3Comments