Project

General

Profile

Bug #23612

Make sure that the classad attribute names are treated as case insensitive

Added by Marco Mambelli 20 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/15/2019
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

HTCondor classad attribute names are case insensitive. A case though is used both in the XML format and the output of the Python binding.
This normally preserves the case used when writing the classad but it is not always the case (e.g. mixed ads from different writers)

The code currently converts classads to dictionaries using the attribute name as key and the value as value, often in an automatic fashion.
Python dictionaries are case sensitive.
To avoid possible errors the code in Factory and Frontend (reading the classad) should be modified either to use case insensitive dictionaries or to change to a common case all the attribute names (e.g. all lowercase or all uppercase, whichever is more readable)



Also available in: Atom PDF