Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 70507
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: flichtenheld [...] astaro.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.07010
Fixed in: (no value)



Subject: When moving files, end comment gets lost if unmodified
Hi. I have an existing schema dump that I want to move to use_namespaces. When I add the argument in schema_make_at, all the files are moved around correctly. But, in some of the files where I added custom code I did not remove the end comment (# You can replace this text with custom content, and it will be preserved on regeneration). In those files the comment and the "1;" after it will be deleted (which is obviously bad because the missing "1;" can cause problems during module load). Only this exact combination (custom code added but comment not removed) show the problem: In other files where I removed the comment and only left the "1;", the "1;" is not removed. Files that were completely untouched after generation do not loose the comment nor the "1;". Not a severe bug, but annoying behavior none-the-less. Gruesse, Frank
Subject: Re: [rt.cpan.org #70507] When moving files, end comment gets lost if unmodified
Date: Sat, 27 Aug 2011 22:52:47 -0400
To: bug-DBIx-Class-Schema-Loader [...] rt.cpan.org
From: Rafael Kitover <rkitover [...] cpan.org>
Will fix for next release, thanks for the report.
Fixed in git master.
Fixed in 0.07011.