You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings,
I have RT 4.2.9 somewhat running at this moment on Windows 7! Â I had a bunch of little obstacles, one was in HTML::Mason::Interp with path names. Â On Windows the ':' char is illegal in a path except after a drive letter, but RT somehow was feeding that in as part of the process of creating a mason data obj file.
It wanted to create:
...\rt4\var\mason_data\obj\3501187538\plugin-RT::Extension::QuickUpdate
So I hacked it up to create this instead:
...\rt4\var\mason_data\obj\3501187538\plugin-RT!!Extension!!QuickUpdate
About line 482 I did this Q&D change, this being my first Mason project, I don't know if this is an appropriate solution or if it should be cleaned up up/down stream etc.:
sub comp_id_to_objfile {Â Â my ($self, $comp_id) = @_;Â Â $comp_id =~ s/:/!/g if ($^O =~ /MSWin32/i);Â #SPK 2015-01-12Â Â return File::Spec->catfile
        ( $self->object_dir,         $self->compiler->object_id,         ( split ///, $comp_id ),        ) . $self->object_file_extension;}
Thanks!
Steve...
The text was updated successfully, but these errors were encountered:
Migrated from rt.cpan.org #102097 (status was 'new')
Requestors:
From [email protected] on 2015-02-13 02:42:38
:
Greetings,
I have RT 4.2.9 somewhat running at this moment on Windows 7! Â I had a bunch of little obstacles, one was in HTML::Mason::Interp with path names. Â On Windows the ':' char is illegal in a path except after a drive letter, but RT somehow was feeding that in as part of the process of creating a mason data obj file.
It wanted to create:
...\rt4\var\mason_data\obj\3501187538\plugin-RT::Extension::QuickUpdate
So I hacked it up to create this instead:
...\rt4\var\mason_data\obj\3501187538\plugin-RT!!Extension!!QuickUpdate
About line 482 I did this Q&D change, this being my first Mason project, I don't know if this is an appropriate solution or if it should be cleaned up up/down stream etc.:$comp_id =~ s/:/!/g if ($ ^O =~ /MSWin32/i);Â #SPK 2015-01-12Â Â return File::Spec->catfile
sub comp_id_to_objfile {Â Â my ($self, $comp_id) = @_;Â Â
        ( $self->object_dir,         $self->compiler->object_id,         ( split ///, $comp_id ),        ) . $self->object_file_extension;}
Thanks!
Steve...
The text was updated successfully, but these errors were encountered: