View Issue Details

IDProjectCategoryView StatusLast Update
0004999DarkRadiantObjectivespublic10.03.2019 06:15
ReportergraymanAssigned Togreebo 
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.6.0 
Target Version2.6.1Fixed in Version2.6.1 
Summary0004999: Problem with satisfying readable objective "when closed"
DescriptionIf I create an objective that's satisfied when I reach page N of a readable, then subsequently decide I want to have the objective satisfied when I close the readable instead, N remains set and causes the following:

Open the readable, where the number of pages is < N.
Read all the pages.
Close the readable.
The objective is NOT satisfied.

Checking whether the objective is satisfied takes into account N when it shouldn't.

While this could be fixed in TDM, it should be caught at the earliest moment, which is in DR. The leftover argument that defines N should be deleted when the objective is no longer "satisfied when page N is reached".
Steps To Reproduce- Open a new map
- Open Map > Objectives Editor
- Add an objective entity plus one objective
- Edit the Objective
- Add Component of Type "Readable page reached
- Set Specifier "Name of single entity", type in any name
- Set Page Number: 4
- Change the component type to "Readable closed"
- Save the objective and the close the editor

Select the objective entity and inspect its arguments:
The "obj1_1_args" key has the value "4" which is the page number, even though it's not needed by and will break the objective logic in-game.
TagsNo tags attached.

Activities

greebo

greebo

10.03.2019 05:23

administrator   ~0011678

Confirmed, the component arguments are not cleared on saving
greebo

greebo

10.03.2019 06:15

administrator   ~0011679

Fixed in 06e6d35

Issue History

Date Modified Username Field Change
26.02.2019 19:07 grayman New Issue
26.02.2019 19:08 grayman Description Updated View Revisions
10.03.2019 05:23 greebo Note Added: 0011678
10.03.2019 05:23 greebo Status new => confirmed
10.03.2019 05:29 greebo Steps to Reproduce Updated View Revisions
10.03.2019 05:30 greebo Assigned To => greebo
10.03.2019 05:30 greebo Status confirmed => assigned
10.03.2019 05:31 greebo Product Version 2.6.1 => 2.6.0
10.03.2019 05:31 greebo Target Version => 2.6.1
10.03.2019 06:12 greebo Assigned To greebo => grayman
10.03.2019 06:12 greebo Assigned To grayman => greebo
10.03.2019 06:15 greebo Note Added: 0011679
10.03.2019 06:15 greebo Status assigned => resolved
10.03.2019 06:15 greebo Fixed in Version => 2.6.1
10.03.2019 06:15 greebo Resolution open => fixed