[jira] Updated: (SOLR-1591) XMLWriter#writeAttr silently ignores null attribute values

2010-01-13 Thread Chris A. Mattmann (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris A. Mattmann updated SOLR-1591:


Component/s: Response Writers

 XMLWriter#writeAttr silently ignores null attribute values
 --

 Key: SOLR-1591
 URL: https://issues.apache.org/jira/browse/SOLR-1591
 Project: Solr
  Issue Type: Improvement
  Components: Response Writers
Affects Versions: 1.1.0
 Environment: My local MacBook pro laptop.
Reporter: Chris A. Mattmann
Priority: Minor
 Attachments: SOLR-1591.Mattmann.112209.patch.txt


 XMLWriter#writeAttr checks for val == null, and if so, does nothing. Instead 
 of doing nothing, it could leverage its method signature, and throw an 
 IOException declaring that the value provided is null. Patch, attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SOLR-1591) XMLWriter#writeAttr silently ignores null attribute values

2009-11-22 Thread Chris A. Mattmann (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris A. Mattmann updated SOLR-1591:


Attachment: SOLR-1591.Mattmann.112209.patch.txt

 XMLWriter#writeAttr silently ignores null attribute values
 --

 Key: SOLR-1591
 URL: https://issues.apache.org/jira/browse/SOLR-1591
 Project: Solr
  Issue Type: Bug
Affects Versions: 1.4
 Environment: My local MacBook pro laptop.
Reporter: Chris A. Mattmann
 Fix For: 1.5

 Attachments: SOLR-1591.Mattmann.112209.patch.txt


 XMLWriter#writeAttr checks for val == null, and if so, does nothing. Instead 
 of doing nothing, it could leverage its method signature, and throw an 
 IOException declaring that the value provided is null. Patch, attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SOLR-1591) XMLWriter#writeAttr silently ignores null attribute values

2009-11-22 Thread Chris A. Mattmann (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris A. Mattmann updated SOLR-1591:


Priority: Minor  (was: Major)

- left priority as default (which is Major). Probably a Minor bug.

 XMLWriter#writeAttr silently ignores null attribute values
 --

 Key: SOLR-1591
 URL: https://issues.apache.org/jira/browse/SOLR-1591
 Project: Solr
  Issue Type: Bug
Affects Versions: 1.4
 Environment: My local MacBook pro laptop.
Reporter: Chris A. Mattmann
Priority: Minor
 Fix For: 1.5

 Attachments: SOLR-1591.Mattmann.112209.patch.txt


 XMLWriter#writeAttr checks for val == null, and if so, does nothing. Instead 
 of doing nothing, it could leverage its method signature, and throw an 
 IOException declaring that the value provided is null. Patch, attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.