Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2261 closed defect (fixed)

Make loadState and saveState symmetric

Reported by: jmalik Owned by: potts@…
Priority: highest Milestone: OSSIM 2.0
Component: Algorithms/Functionality Version: OMAR 1.8.8
Severity: blocker Keywords:
Cc:

Description

We need this patch in OTB to avoid a segfault : http://hg.orfeo-toolbox.org/OTB/rev/ccacc977358a The patch makes it symetric between the loading and saving of the kwl.

Issue has been discussed here : http://bugs.orfeo-toolbox.org/view.php?id=422

Change History (3)

comment:1 by gpotts, 12 years ago

I have added an empty check before accessing the variable in the save state. I need further verification from jmalik before closing the ticket.

comment:2 by jmalik, 12 years ago

Resolution: fixed
Status: newclosed

comment:3 by gpotts, 12 years ago

You need the else if for it will run without it so the test with Multi will put one form of keywords and the ! empty will always run which you only want to run if Multi is not set. I think that is the flow. Thank you for verification

Note: See TracTickets for help on using tickets.