Skip to content
  • Sylvain Thénault's avatar
    [profile gen] Be more resilient about supported concept's languages · 455ce14bb7bf
    Sylvain Thénault authored
    Export used to chose concept value by searching for label with the following
    language code:
    
    1. version specific (seda-2, seda-1 or seda-02)
    2. seda
    3. en
    
    and crash if no matching label was found. But it seems we don't want it to crash
    because we use some concept which has e.g. only a concept in 'fr' language code.
    At some point we may want to improve this, depending on the relation (internal
    seda vocabulary vs open vocabulary such as keyword reference), but for now,
    let's add 'fr' to the expected language list and fallback to any language if
    none has been found so the export doesn't fail.
    
    Related to extranet #15934212
    455ce14bb7bf