List Info

Thread: CR: Fixes PR 208629: Error events related to 'UASPath' variable are not getting logge




CR: Fixes PR 208629: Error events related to 'UASPath' variable are not getting logge
country flaguser name
India
2008-01-18 05:45:44

Synopsis

========

CR: Fixes PR 208629: Error events related to 'UASPath' variable are not getting logged in the rmerror.log file.

 

Branches: SERVER_CURRENT_RN, SERVER_12_RN

Suggested Reviewer: Darrick

 

Quick Link: https://bugs.dev.prognet.com/show_bug.cgi?id=208629

 

 

Description

===========

Under following error conditions rmerror.log file is not updated with the error events.

1. Directory set by UASPath variable does not have read permission.

2. Directory set by UASPath variable does not have write permission. (Used in the case when from Admin UI, UAS from config file need to be saved in the uas file)

3. Directory set by UASPath variable does not exist.

4. A UAS file can not be read e.g. corrupt files (e.g. .txt/.bmp renamed as .uas file)

5. A UAS file can not be read e.g. improperly formatted files (e.g. .uas file with missing Start/End tag for "List Name")

 

 

Fix:

====

Added code to fix #1, 2, 3 & 5. Identifying corrupt files depends on the content in the file. This is by design behavior of the XML Parser.

 

 

Files Affected

==============

common/lang/xml/xmlconfig.cpp

server/engine/config/uasconfig.cpp

 

 

Testing Performed

=================

Unit Tests: n/a

 

Integration Tests: Tested various types of .uas files for appropriate error reporting on stderr and rmerror.log

 

Leak Tests: n/a

 

Performance Tests: n/a

 

Build verified: win32-i386-vc7, linux-rhel4-i686, and sunos-5.10-sparc-server

 

Platforms tested: n/a

 

QA Hints

===============

None

 

Regards,

Nitin

 

 

 

 

 

  
Re: CR: Fixes PR 208629: Error events related to 'UASPath' variable are not getting l
country flaguser name
United States
2008-01-18 13:26:13
Ok for SERVER_CURRENT_RN pending common-dev approval. Ok for
SERVER_12_RN.



Thanks,

- D.

Nitin Patil wrote:
> Synopsis
> 
> ========
> 
> CR: Fixes PR 208629: Error events related to 'UASPath'
variable are not
> getting logged in the rmerror.log file.
> 
>  
> 
> Branches: SERVER_CURRENT_RN, SERVER_12_RN 
> 
> Suggested Reviewer: Darrick
> 
>  
> 
> Quick Link: h
ttps://bugs.dev.prognet.com/show_bug.cgi?id=208629
> 
>  
> 
>  
> 
> Description
> 
> ===========
> 
> Under following error conditions rmerror.log file is
not updated with the
> error events.
> 
> 1. Directory set by UASPath variable does not have read
permission.
> 
> 2. Directory set by UASPath variable does not have
write permission. (Used
> in the case when from Admin UI, UAS from config file
need to be saved in the
> uas file)
> 
> 3. Directory set by UASPath variable does not exist.
> 
> 4. A UAS file can not be read e.g. corrupt files (e.g.
.txt/.bmp renamed as
> .uas file) 
> 
> 5. A UAS file can not be read e.g. improperly formatted
files (e.g. .uas
> file with missing Start/End tag for "List
Name")
> 
>  
> 
>  
> 
> Fix:
> 
> ====
> 
> Added code to fix #1, 2, 3 & 5. Identifying corrupt
files depends on the
> content in the file. This is by design behavior of the
XML Parser.
> 
>  
> 
>  
> 
> Files Affected
> 
> ==============
> 
> common/lang/xml/xmlconfig.cpp
> 
> server/engine/config/uasconfig.cpp
> 
>  
> 
>  
> 
> Testing Performed
> 
> =================
> 
> Unit Tests: n/a
> 
>  
> 
> Integration Tests: Tested various types of .uas files
for appropriate error
> reporting on stderr and rmerror.log
> 
>  
> 
> Leak Tests: n/a
> 
>  
> 
> Performance Tests: n/a
> 
>  
> 
> Build verified: win32-i386-vc7, linux-rhel4-i686, and
> sunos-5.10-sparc-server
> 
>  
> 
> Platforms tested: n/a
> 
>  
> 
> QA Hints
> 
> ===============
> 
> None
> 
>  
> 
> Regards,
> 
> Nitin
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> 

_______________________________________________
Common-dev mailing list
Common-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/comm
on-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )