[Woc-notify] [CM Request for Change - AWS 0011439]: Multiple CWAs valid not displaying at the same time

Mantis Bug Tracker noreply at newadmin.awids
Thu Jul 5 19:26:59 UTC 2012


The following issue has been CLOSED 
====================================================================== 
https://bugs.awids/view.php?id=11439 
====================================================================== 
Reported By:                Rob Sallee
Assigned To:                Dan Vietor
====================================================================== 
Project:                    CM Request for Change - AWS
Issue ID:                   11439
Category:                   32) CAWS
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
TIN Required?         (If "YES" please upload):  
Deadline:                    
Disposition:                Approved 
Configuration Change Authority: CM 
Disposition Date:           06-18-12 
Level of Change:            Level 1 (Minor) 
Change Notification:         
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-04-2012 13:41 UTC
Last Modified:              07-05-2012 19:26 UTC
====================================================================== 
Summary:                    Multiple CWAs valid not displaying at the same time
Description: 
Two CWA's with the same ending valid time for the Atlanta CWSU did not
display.  Only latest one displayed.  Upon further investigation, it's due
to how we file the CWAs.  We file it as YYYYMMDD_HHMM.[CWSU ID].  

This obviously doesn't happen that often, since the code to file the data
through LDM has not changed in years, but we need to come up with a better
way to file these CWAs.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
child of            0011493 6/19/2012 CAWS Release ticket
====================================================================== 

---------------------------------------------------------------------- 
 (0030017) Rob Sallee (administrator) - 06-04-12 14:05
 https://bugs.awids/view.php?id=11439#c30017 
---------------------------------------------------------------------- 
This will effect ldm data flow and potentially a pattern match in a php
script (awc/application/modules/popups/cwsu/views/scripts/dynamic.phtml) 

---------------------------------------------------------------------- 
 (0030158) Rob Sallee (administrator) - 06-14-12 20:27
 https://bugs.awids/view.php?id=11439#c30158 
---------------------------------------------------------------------- 
It happened again today.....

Good afternoon all! I had spoke to the AWC web person a few weeks ago
regarding CWAs. IF you go to ZTL on the CWA section of the AWC page, it
only displays CWA 202. Actually, there are 2 CWAs active for ZTL right
now...202 & 301. Could you provide his contact info again or have him call
me here? 

---------------------------------------------------------------------- 
 (0030173) Dan Vietor (developer) - 06-18-12 16:09
 https://bugs.awids/view.php?id=11439#c30173 
---------------------------------------------------------------------- 
Added code to cwa_parser.pl to read in and save the existing CWA file to
the temp file, therefore appending additional CWAs valid at the same time
onto the existing file.  This eliminates the issue with multiple valid
CWAs getting lost as new ones come in. 

---------------------------------------------------------------------- 
 (0030174) Dan Vietor (developer) - 06-18-12 16:18
 https://bugs.awids/view.php?id=11439#c30174 
---------------------------------------------------------------------- 
<b>Summary:</b>

There is an issue with the way CWA statements are being saved in that
multiple CWAs with the same valid time are being lost.  This is because
the cwa_parser.pl script is set up to overwrite the existing CWA file if a
new one at with the same valid time exists.  This should be an append, not
an overwrite.

The solution is to add code to cwa_parser.pl to read in the existing CWA
file for that valid time and save it to the temp file first and then
append the new data to the end of the file.

<b>Files:</b>

This is a small change to the cwa_parser.pl script.  There is only one
file affected and that needs to be exported from the trunk:

/trunk/awc/support/scripts/site/cwa/cwa_parser.pl

<b>Procedure:</b>

Export the script file.  Since this is invoked by the LDM when a new CWA
is sent, nothing else needs to be done with the LDM.

<b>Technical Impact:</b>

Minimal.  This is changing an overwrite to an append in the script.

<b>User Impact:</b>

None.  Users will now see all valid CWAs.

<b>Test Results:</b>

Tested on BCAWS and Bubble.



More information about the Woc-notify mailing list