Skip to content

Change Recommandation issue with words that contain a * #5628

@MSoeb

Description

@MSoeb

Describe the bug
I've found a strange change recommandation edge case issue. If a motion ends with word that contains a * it can happen, that the change recommandation won't work. Instead an error appears, that indicates a line inconsistency. The line seems not to exist.

After reloading the change reco or the motion, the problem will disappear.

Image

How to Reproduce

  1. open a meeting
  2. open motions > create a motion with the content "Jemand musste Josef K. verleumdet haben, denn ohne dass er etwas Böses getan hätte,wurde er eines Morgens verhaftet. »Wie ein Hund! « sagte er, es war, als sollte die Scham ihn überleben. Als Gregor Samsa eines Morgens aus unruhigen Träumen erwachte, fand er sich in seinem Bett zu einem ungeheueren Ungeziefer verwandelt." > save motion
  3. open motion edit and add " Dabei sind Beamt*innen." (with the space at the start). The word Beamt*innen. should appear in a new line.
  4. add a change recommendation to the last line. Add a line break and the sentence "Und es war ihnen wie eine Bestätigung ihrer neuen Träume und guten Absichten, als am Ziele ihrer Fahrt die Tochter als erste sich erhob und ihren jungen Körper dehnte." > save it
  5. --> This will lead to a line inconsistency. -> Reload and it's gone.

Expected behavior
The line inconsistency should not happen.

Additional context
I've found this failure by finding the reproduction of another failure. The other failure consists of a strikethrough "Beamt*innen." by only adding the new part mentioned in step 4. - Hopefully the fix of this issue will fix this wrong behavior too.

I've also added this issue to the diff Meta.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions