IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 16 years ago

Closed 16 years ago

#1390 closed defect (fixed)

warptool -updaterun fails to update warps in new state that have never been processed

Reported by: heather Owned by: bills
Priority: normal Milestone:
Component: misc Version: current
Severity: normal Keywords:
Cc:

Description

warptool -updaterun fails to update warps in new state that have never been processed

why might you want to do this? to unclutter the czartool page, or to change the label. They are never going to process (all the other stages have gone to goto_cleaned).

this is in warptool.c

Change History (2)

comment:1 by heather, 16 years ago

Owner: changed from eugene to bills
Status: newassigned

comment:2 by bills, 16 years ago

Resolution: fixed
Status: assignedclosed

The problem is that the query joins to the warpSkyfile table which will have
no entries if the run has never been processed.

The system needs to do this when changing the state of the run to 'update'.
However, setting runs to update is no longer the job of warptool -updaterun.
That job is to be performed by warptool -setimfiletoupdate which handles
checking that things are in the proper state.

I've removed the unneeded joins and changed pxtools to disallow
-updaterun -set_state update for all stages.

Committed to trunk r28202

Note: See TracTickets for help on using tickets.