Modify

Ticket #772 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

ConfigFile comparision not working for files containing non-ascii characters

Reported by: Nicolas Dandrimont <[email protected]…> Owned by: desai
Priority: major Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

The POSIX ConfigFile? comparision is broken when the local file contains non-ascii characters, even though the charset is configured correctly in the BCfg2 config file.

It seems that a "return False" has slept through when the local file is read as a unicode object.

Attached patch fixes the issue.

Attachments

bcfg2-non-ascii-comparision-failure.diff (549 bytes) - added by Nicolas Dandrimont <[email protected]…> 13 years ago.

Change History

Changed 13 years ago by Nicolas Dandrimont <[email protected]…>

comment:1 Changed 13 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

Committed in r5514. Thanks for the patch.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.