Page 1 of 1

Case-sensitivity issue with variable definitions in targets

Posted: Wed Jan 11, 2017 11:00 am
by AnjanaDevarakonda
Hi,

I have a peculiar issue with variables in one of my targets.

I created the following variable to change the spelling of 'Organisation' based on American/British English audience.

The default variable set has the the following names and definitions:
Name-----------Definition
organisation: organisation
Organisation: Organisation
organisations: organisations
Organisations: Organisations

When i generate an output for American audience, i change the definitions of variables in the targets to:

Name-----------Definition
organisation: organization
Organisation: Organization
organisations: organizations
Organisations: Organizations

I make the above changes to the definitions and save and close the target. On re-opening, the variable definitions change to : (all capitalization are lost)
Name----------Definition
organisation: organization
Organisation: organization
organisations: organizations
Organisations: organizations

I tried opening the target in a notepad, to my surprise the definitions show up just fine which is:
<Variables>
<Variable
Name="Languages/organisation">organization</Variable>
<Variable
Name="Languages/Organisation">Organization</Variable>
<Variable
Name="Languages/organisations">organizations</Variable>
<Variable
Name="Languages/Organisations">Organizations</Variable>
</Variables>
</CatapultTarget>

I am sort of lost because of this conflicting definitions that show up in Notepad and Flare.

Did any one face a similar issue? If yes, how did you fix it?

Re: Case-sensitivity issue with variable definitions in targ

Posted: Thu Jan 12, 2017 12:59 am
by NorthEast
I don't think Flare can handle two variables with the same name, even though they're different case.

I'd suggest changing the variable names so that they're different; e.g. maybe add 'U' for upper and 'L' for lowercase, so you have Languages|organisationL and Languages|organisationU.

Also, report it as a bug: https://www.madcapsoftware.com/feedback/bugs.aspx

Re: Case-sensitivity issue with variable definitions in targ

Posted: Mon Jan 23, 2017 4:15 am
by AnjanaDevarakonda
Thanks Dave. I've reported it as a bug.