Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [brewt] [Bug] : Link Property Column Delete

Quote Reply
Re: [brewt] [Bug] : Link Property Column Delete In reply to
In Reply To:
Here's a patch to fix the problem:
Code:
--- library/GT/SQL/Editor.pm 2005/04/14 00:34:22 1.75
+++ library/GT/SQL/Editor.pm 2005/04/27 22:53:24 1.76
@@ -165,7 +165,7 @@ sub drop_col {

my $tmp_weight = {};
if (($self->{table}->cols->{$name} || {})->{weight}) {
- $tmp_weight = $self->pre_delete_column($name, $self->{table}->cols->{$name}) or return
+ $tmp_weight = $self->_get_indexer()->pre_delete_column($name, $self->{table}->cols->{$name}) or return
}

# Columns

However, I must warn you that deleting system columns could result in failures in upgrades in the future.


Hi

What is the best method of doing manual upgrades? What do you suggest? as I *have* to delete this column.

Vishal

Vishal
-------------------------------------------------------
Subject Author Views Date
Thread; hot thread [Bug] : Link Property Column Delete VishalT 7783 Apr 27, 2005, 12:55 AM
Post; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
VishalT 7662 Apr 27, 2005, 12:58 AM
Thread; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
brewt 7650 Apr 27, 2005, 12:58 AM
Thread; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7675 Apr 27, 2005, 1:00 AM
Thread; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
brewt 7670 Apr 27, 2005, 1:05 AM
Thread; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7702 Apr 27, 2005, 1:07 AM
Thread; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
brewt 7656 Apr 27, 2005, 1:10 AM
Thread; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7668 Apr 27, 2005, 1:11 AM
Post; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
VishalT 7628 Apr 27, 2005, 1:16 AM
Thread; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7606 Apr 27, 2005, 1:28 AM
Thread; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
brewt 7627 Apr 27, 2005, 1:33 AM
Post; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7583 Apr 27, 2005, 1:34 AM
Post; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7648 Apr 27, 2005, 1:01 AM
Thread; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
brewt 7646 Apr 27, 2005, 3:53 PM
Thread; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7610 Apr 27, 2005, 4:00 PM
Thread; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
brewt 7635 Apr 27, 2005, 4:08 PM
Thread; hot thread Re: [brewt] [Bug] : Link Property Column Delete
brewt 7626 Apr 27, 2005, 4:09 PM
Post; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7560 Apr 27, 2005, 7:20 PM
Thread; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7566 May 5, 2005, 5:26 PM
Thread; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
brewt 7545 May 5, 2005, 8:03 PM
Thread; hot thread Re: [brewt] [Bug] : Link Property Column Delete
VishalT 7562 May 5, 2005, 8:34 PM
Post; hot thread Re: [SWDevil.Com] [Bug] : Link Property Column Delete
VishalT 7565 May 6, 2005, 7:36 PM