Item9659: Modifying image attach properties to create a link results in assert failure

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: GeorgeClark
Waiting For: Main.GeorgeClark
Last Change By: KennethLavrsen
  • Attach an image png file.
  • Click manage attachments
  • Select the "create a link to the attached file" checkbox for the image
  • Click the "Change comment and properties only" button.

Assertion failed!
 at /var/www/foswiki/trunk/core/lib/Assert.pm line 80
	Assert::ASSERT(undef) called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/VC/Handler.pm line 87
	Foswiki::Store::VC::Handler::new('Foswiki::Store::VC::RcsWrapHandler', 'Foswiki::Store::RcsWrap=HASH(0x84dc988)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png') called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/VC/RcsWrapHandler.pm line 28
	Foswiki::Store::VC::RcsWrapHandler::new('Foswiki::Store::VC::RcsWrapHandler', 'Foswiki::Store::RcsWrap=HASH(0x84dc988)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png') called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/RcsWrap.pm line 30
	Foswiki::Store::RcsWrap::getHandler('Foswiki::Store::RcsWrap=HASH(0x84dc988)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png') called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/VC/Store.pm line 220
	Foswiki::Store::VC::Store::openAttachment('Foswiki::Store::RcsWrap=HASH(0x84dc988)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png', '<') called at /var/www/foswiki/trunk/core/lib/Foswiki/Meta.pm line 2769
	Foswiki::Meta::openAttachment('Foswiki::Meta=HASH(0x849fce0)', 'starred.png', '<') called at /var/www/foswiki/trunk/core/lib/Foswiki/Attach.pm line 276
	Foswiki::Attach::getAttachmentLink('Foswiki::Attach=HASH(0x88442b8)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png') called at /var/www/foswiki/trunk/core/lib/Foswiki/Meta.pm line 2650
	Foswiki::Meta::attach('Foswiki::Meta=HASH(0x849fce0)', 'name', 'starred.png', 'comment', '', 'hide', '', 'createlink', 'on', ...) called at /var/www/foswiki/trunk/core/lib/Foswiki/UI/Upload.pm line 192
	Foswiki::UI::Upload::__ANON__() called at /usr/lib/perl5/vendor_perl/5.10.1/Error.pm line 415
	eval {...} called at /usr/lib/perl5/vendor_perl/5.10.1/Error.pm line 407
	Error::subs::try('CODE(0x887b030)', 'HASH(0x8844128)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI/Upload.pm line 212
	Foswiki::UI::Upload::_upload('Foswiki=HASH(0x84a6220)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI/Upload.pm line 87
	Foswiki::UI::Upload::upload('Foswiki=HASH(0x84a6220)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 310
	Foswiki::UI::__ANON__() called at /usr/lib/perl5/vendor_perl/5.10.1/Error.pm line 415
	eval {...} called at /usr/lib/perl5/vendor_perl/5.10.1/Error.pm line 407
	Error::subs::try('CODE(0x804e2c8)', 'HASH(0x84a5f50)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 429
	Foswiki::UI::_execute('Foswiki::Request=HASH(0x846e4b8)', 'CODE(0x806fea8)', 'upload', 1) called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 277
	Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x846e4b8)') called at /var/www/foswiki/trunk/core/lib/Foswiki/Engine/CGI.pm line 37
	Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x81f75f0)') called at upload line 24
 at /var/www/foswiki/trunk/core/lib/Assert.pm line 80
	Assert::ASSERT(undef) called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/VC/Handler.pm line 87
	Foswiki::Store::VC::Handler::new('Foswiki::Store::VC::RcsWrapHandler', 'Foswiki::Store::RcsWrap=HASH(0x84dc988)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png') called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/VC/RcsWrapHandler.pm line 28
	Foswiki::Store::VC::RcsWrapHandler::new('Foswiki::Store::VC::RcsWrapHandler', 'Foswiki::Store::RcsWrap=HASH(0x84dc988)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png') called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/RcsWrap.pm line 30
	Foswiki::Store::RcsWrap::getHandler('Foswiki::Store::RcsWrap=HASH(0x84dc988)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png') called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/VC/Store.pm line 220
	Foswiki::Store::VC::Store::openAttachment('Foswiki::Store::RcsWrap=HASH(0x84dc988)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png', '<') called at /var/www/foswiki/trunk/core/lib/Foswiki/Meta.pm line 2769
	Foswiki::Meta::openAttachment('Foswiki::Meta=HASH(0x849fce0)', 'starred.png', '<') called at /var/www/foswiki/trunk/core/lib/Foswiki/Attach.pm line 276
	Foswiki::Attach::getAttachmentLink('Foswiki::Attach=HASH(0x88442b8)', 'Foswiki::Meta=HASH(0x849fce0)', 'starred.png') called at /var/www/foswiki/trunk/core/lib/Foswiki/Meta.pm line 2650
	Foswiki::Meta::attach('Foswiki::Meta=HASH(0x849fce0)', 'name', 'starred.png', 'comment', '', 'hide', '', 'createlink', 'on', ...) called at /var/www/foswiki/trunk/core/lib/Foswiki/UI/Upload.pm line 192
	Foswiki::UI::Upload::__ANON__() called at /usr/lib/perl5/vendor_perl/5.10.1/Error.pm line 415
	eval {...} called at /usr/lib/perl5/vendor_perl/5.10.1/Error.pm line 407
	Error::subs::try('CODE(0x887b030)', 'HASH(0x8844128)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI/Upload.pm line 212
	Foswiki::UI::Upload::_upload('Foswiki=HASH(0x84a6220)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI/Upload.pm line 87
	Foswiki::UI::Upload::upload('Foswiki=HASH(0x84a6220)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 310
	Foswiki::UI::__ANON__() called at /usr/lib/perl5/vendor_perl/5.10.1/Error.pm line 415
	eval {...} called at /usr/lib/perl5/vendor_perl/5.10.1/Error.pm line 407
	Error::subs::try('CODE(0x804e2c8)', 'HASH(0x84a5f50)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 429
	Foswiki::UI::_execute('Foswiki::Request=HASH(0x846e4b8)', 'CODE(0x806fea8)', 'upload', 1) called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 277
	Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x846e4b8)') called at /var/www/foswiki/trunk/core/lib/Foswiki/Engine/CGI.pm line 37
	Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x81f75f0)') called
-- GeorgeClark - 12 Sep 2010

 

ItemTemplate edit

Summary Modifying image attach properties to create a link results in assert failure
ReportedBy GeorgeClark
Codebase 1.1.0 beta1, trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor GeorgeClark
Checkins distro:2fbad79c7d99 distro:69a1f2c25986 distro:e97c91b46208 distro:b7897edef747 distro:df236e598db4 distro:bb3475fa1be0
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r10 - 04 Oct 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy