carbone icon indicating copy to clipboard operation
carbone copied to clipboard

[Bug Report]: Error in resolving aliases

Open mjunkin opened this issue 4 years ago • 2 comments
trafficstars

Environment Carbone Studio 2.x.x

Expected Behaviour I've defined a small document with two aliases: one named "a" and the other "ao":

template.docx

with this report data file:

report-data.txt

I expect that the result will be "Result: Building 10 - 7201 Vedder Road"

Actual Behaviour

The result is instead just "Result:"

Steps to reproduce Steps to reproduce the bug:

  1. Go to https://studio.carbone.io/#/studio
  2. Upload the data document into the left pane
  3. Upload the template into the right pane, and see the problem
  4. If you remove the definition of "a" (starting {#a...) and re-render, the output shows up correctly.

It seems that Carbone is being confused by the use of #a. If I rename "a" to "ab", the template works. So maybe your alias lookup code is broken?

mjunkin avatar Dec 09 '20 01:12 mjunkin

Hello @mjunkin, thank you for reaching us. It is a known issue and we are working on it. Until the fix, aliases should start with different letters.

steevepay avatar Dec 10 '20 10:12 steevepay

Hello @mjunkin, we found the issue and the fix is coming.

steevepay avatar Jan 29 '21 17:01 steevepay