MattHeard / Dendrite

Write an interactive adventure story with the rest of the world
MIT License
2 stars 0 forks source link

New page had an option already connected (to an invalid target). #214

Open MattHeard opened 9 years ago

MattHeard commented 9 years ago

A user wrote page 26a and named the options:

  1. "a"
  2. "b"
  3. "c"
  4. "d"

The user did not write pages for any of the options, but I noticed that option "b" was linked to page 6. Page 6 is the first page of another story, so not only should the option not link to any page but it definitely should not link to the first page in another story.

I quickly removed the target value from the StoryOption entity so that the link was valid again, but I could not determine why or how the option had been linked to page 6.

I will look into adding diagnostic debug log message around the submission of new story options but will need to wait until it is reproduced again.