# Inserting requirement macro creates two macros when inserted inside a table cell

## Description

When inserting a requirement macro inside a table cell, RY creates two macros. The first one is empty, the second one refers to the selected requirement ID. This happens no matter how you insert the macro (via keyboard shortcut, manually via the macro popup...)

When inserting the macro outside of a table, everything works as expected.

## Environment

Confluence 6.14.0
browser-independent (tested on Firefox 65.0.1, Safari 12.0.2 (14606.3.4), Chromium 72.0.3626.96)
macOS 10.14.2 (18C54)

None

## Activity

Show:
David Waldhans
March 6, 2019, 6:12 PM

hello Salmane,

I just tested it and I can confirm that it works now. Thank you for the quick fix and release!

Best regards,
David

March 6, 2019, 4:11 PM

Hi David,

I have just published the release with Salmane's fix for this bug.

Best regards,

Salmane Hmiza
March 6, 2019, 8:40 AM

Hello David,

We have taken notice of the new bug, and we are currently working on it.

Best regards,
Hmiza Salmane

David Waldhans
March 5, 2019, 4:40 PM

hello Salmane,

thank you for the quick fix of this issue. I already did a retest and I am afraid that your fix introduced another bug when inserting macros.

It seems that macros are now always inserted directly after the last inserted macro (inside the same cell), if the last inserted macro was inside a table cell. This happens only if you use the keyboard shortcut. If you use "{" it does not happen. Please see the attached videos for the behaviour during my tests (

).

If the last inserted macro is outside of a table, the next macro is inserted correctly (no matter if inside or outside of tables, no matter if you use "{" or the shortcut).

Kind regards,
David

Resolved

Salmane Hmiza

David Waldhans

None

None

Matter of weeks