Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [brewt] Problems with modifications

Quote Reply
Re: [brewt] Problems with modifications In reply to
Hi Adrian,

I've tested this in GLinks 3.3 with all updates installed!

The problem comes up when _check_update this is run in admin/Links/User/Modify.pm, line 416:
Code:
$db->_check_update($new, { ID => $new->{ID} }) or return { error => $GT::SQL::error, %ret };

before:

Code:
# Remove any columns which haven't changed
for my $key (keys %cols) {
next if not exists $new->{$key} or $key eq 'ID';

delete $new->{$key} if $new->{$key} eq (defined $link->{$key} ? $link->{$key} : '');
}

If i put the empty input check before _check_update everything works as expected.

Cheers,
Boris

Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins
Subject Author Views Date
Thread Problems with modifications katakombe 20759 Jan 30, 2013, 7:20 AM
Thread Re: [katakombe] Problems with modifications
Andy 20385 Jan 30, 2013, 8:47 AM
Thread Re: [Andy] Problems with modifications
katakombe 20358 Jan 30, 2013, 8:53 AM
Post Re: [katakombe] Problems with modifications
Andy 20361 Jan 30, 2013, 9:09 AM
Thread Re: [katakombe] Problems with modifications
eupos 20409 Jan 30, 2013, 9:14 AM
Thread Re: [eupos] Problems with modifications
katakombe 20350 Jan 30, 2013, 9:32 AM
Thread Re: [katakombe] Problems with modifications
eupos 20375 Jan 30, 2013, 9:49 AM
Post Post deleted by katakombe
katakombe 20374 Jan 30, 2013, 10:00 AM
Thread Re: [eupos] Problems with modifications
katakombe 20315 Jan 30, 2013, 10:08 AM
Thread Re: [katakombe] Problems with modifications
eupos 20317 Jan 30, 2013, 10:52 AM
Thread Re: [eupos] Problems with modifications
katakombe 20334 Jan 30, 2013, 8:26 PM
Post Re: [katakombe] Problems with modifications
eupos 20207 Jan 30, 2013, 10:02 PM
Thread Re: [katakombe] Problems with modifications
brewt 20166 Jan 31, 2013, 4:46 PM
Thread Re: [brewt] Problems with modifications
eupos 20129 Jan 31, 2013, 4:53 PM
Thread Re: [eupos] Problems with modifications
brewt 20147 Jan 31, 2013, 8:45 PM
Thread Re: [brewt] Problems with modifications
eupos 20114 Jan 31, 2013, 9:30 PM
Thread Re: [eupos] Problems with modifications
brewt 19885 Feb 1, 2013, 12:51 PM
Post Re: [brewt] Problems with modifications
eupos 19915 Feb 1, 2013, 12:55 PM
Post Re: [brewt] Problems with modifications
VishalT 19862 Feb 1, 2013, 5:42 PM
Thread Re: [brewt] Problems with modifications
Andy 19761 Feb 2, 2013, 12:34 AM
Thread Re: [Andy] Problems with modifications
brewt 4232 Feb 4, 2013, 11:40 AM
Post Re: [brewt] Problems with modifications
Andy 4181 Feb 4, 2013, 11:44 AM
Post Re: [brewt] Problems with modifications
LordStryfe 4056 Feb 21, 2013, 7:14 PM
Thread Re: [brewt] Problems with modifications
katakombe 20111 Feb 1, 2013, 6:36 AM
Thread Re: [katakombe] Problems with modifications
Andy 19967 Feb 1, 2013, 8:01 AM
Thread Re: [Andy] Problems with modifications
katakombe 19993 Feb 1, 2013, 8:08 AM
Post Re: [katakombe] Problems with modifications
eupos 19953 Feb 1, 2013, 8:17 AM
Post Re: [katakombe] Problems with modifications
eupos 19982 Feb 1, 2013, 8:06 AM