NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

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

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine   Main.GeorgeClark
  • 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 Foswikirev:9033 Foswikirev:9036 Foswikirev:9050 Foswikirev:9059 Foswikirev:9060 Foswikirev:9063
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 CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads