List Info

Thread: MOVE operations




MOVE operations
user name
2008-04-15 13:29:05
In Revision # 305 in ActionHandler.pm, some code was altered which I believe is causing issues.
 
in _move_handler, line 457 (of rev 305) was changed from:
  ;  my $itempath = $self->_get_parent_path ($row->) . $row->{itemname};
to this:
  ;  my $itempath = $parentpath . $physinfo->; # $row->{itemname};
 
When using this coupled with a RESTORE element, the items are then attempted to move FROM the orphaned folder TO the orphaned folder.
 
While $parentpath is defined in r305 on line 456 as:
my $parentpath = $self->_get_current_parent_path ();
 
I am unsure which of these should be used, but in my case, _get_current_parent_path() returns the source path, where-as _get_parent_path returns the dest path.
 
Bryan
Re: MOVE operations
user name
2008-04-15 14:08:54
My statement here is only partially correct. I am looking more as changing this line back did not resolve my issues.
 
Bryan

On Tue, Apr 15, 2008 at 2:29 PM, Bryan Aldrich < bryan.a.aldrichgmail.com">bryan.a.aldrichgmail.com> wrote:
In Revision # 305 in ActionHandler.pm, some code was altered which I believe is causing issues.
 
in _move_handler, line 457 (of rev 305) was changed from:
  ;  my $itempath = $self->_get_parent_path ($row->) . $row->{itemname};
to this:
  ;  my $itempath = $parentpath . $physinfo->; # $row->{itemname};
 
When using this coupled with a RESTORE element, the items are then attempted to move FROM the orphaned folder TO the orphaned folder.
 
While $parentpath is defined in r305 on line 456 as:
my $parentpath = $self->_get_current_parent_path ();
&nbsp;
I am unsure which of these should be used, but in my case, _get_current_parent_path() returns the source path, where-as _get_parent_path returns the dest path.
&nbsp;
Bryan

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )