Mercurial > pub > Impl
comparison Lib/IMPL/Serialization.pm @ 281:a8dbddf491dd
refactoring
*IMPL::declare reset abstractProps static property after implementing these props
*IMPL::Serialization: fixed bug with multiple text parts inside one node
*IMPL::Web::Handler::TTView: removed obsolete property 'location' from 'view' template variable
author | cin |
---|---|
date | Mon, 11 Feb 2013 00:58:22 +0400 |
parents | 4ddb27ff4a0b |
children |
comparison
equal
deleted
inserted
replaced
280:c6d0f889ef87 | 281:a8dbddf491dd |
---|---|
232 my $rhObject = $this->{$_currentObject}; | 232 my $rhObject = $this->{$_currentObject}; |
233 | 233 |
234 die Exception->new("Trying to set data for an object which not exists") | 234 die Exception->new("Trying to set data for an object which not exists") |
235 if not $rhObject; | 235 if not $rhObject; |
236 | 236 |
237 die Exception->new( | 237 #die Exception->new( |
238 "Deserialization data already exists for a current object", | 238 # "Deserialization data already exists for a current object", |
239 "ObjectName= $rhObject->{'Name'}" ) | 239 # "ObjectName= $rhObject->{'Name'}" ) |
240 if $rhObject->{'Data'}; | 240 # if $rhObject->{'Data'}; |
241 | 241 |
242 $rhObject->{'Data'} = $data; | 242 $rhObject->{'Data'} .= $data; |
243 | 243 |
244 return 1; | 244 return 1; |
245 } | 245 } |
246 { | 246 { |
247 my $autoId = 0; | 247 my $autoId = 0; |