• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5075: updating attachment properties makes TWiki crash

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Right now I cannot update attachment properties on Item4551, for example. Whenever I try to do it, I get:

Use of uninitialized value in hash element at (eval 98) line 3.
 at /home/twiki4/twikisvn/lib/TWiki/UI.pm line 84
	TWiki::UI::__ANON__('Use of uninitialized value in hash element at (eval 98) line 3.\x{a}') called at (eval 98) line 3
	CGI::tmpFileName('CGI=HASH(0x9987e3c)', '') called at /home/twiki4/twikisvn/lib/TWiki/UI/Upload.pm line 227
	TWiki::UI::Upload::__ANON__() called at /home/twiki4/twikisvn/lib/CPAN/lib//Error.pm line 379
	eval {...} called at /home/twiki4/twikisvn/lib/CPAN/lib//Error.pm line 371
	Error::subs::try('CODE(0xa279b2c)', 'HASH(0xa28d2a8)') called at /home/twiki4/twikisvn/lib/TWiki/UI/Upload.pm line 247
	TWiki::UI::Upload::upload('TWiki=HASH(0x999e8f8)') called at /home/twiki4/twikisvn/lib/TWiki/UI.pm line 159
	TWiki::UI::__ANON__() called at /home/twiki4/twikisvn/lib/CPAN/lib//Error.pm line 379
	eval {...} called at /home/twiki4/twikisvn/lib/CPAN/lib//Error.pm line 371
	Error::subs::try('CODE(0x9987d40)', 'HASH(0xa266064)') called at /home/twiki4/twikisvn/lib/TWiki/UI.pm line 197
	TWiki::UI::run('CODE(0x9b8338c)') called

I'm marking this as urgent, because updating attachment properties is an important feature. Please fell free to downgrade to Normal if appropriate. DIdn't test on 4.2, though (sorry).

-- TWiki:Main/AntonioTerceiro - 04 Dec 2007

I see the problem too. By the way, this is 4.2.

-- TWiki:Main.ArthurClemens - 04 Dec 2007

It looks like we don't have a unit test for changing the property.

-- TWiki:Main.ArthurClemens - 04 Dec 2007

Nasty. Adding a test.

CC

ItemTemplate
Summary updating attachment properties makes TWiki crash
ReportedBy TWiki:Main.AntonioTerceiro
Codebase ~twiki4
SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:15883 TWikirev:15884
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2007-12-05 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback