Last modified: 2012-02-11 16:49:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32430, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30430 - Server aborts connection when running into setting Property of type text around 400 characters
Server aborts connection when running into setting Property of type text arou...
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
PC Windows XP
: Unprioritized major (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-17 20:50 UTC by Daniel A. R. Werner
Modified: 2012-02-11 16:49 UTC (History)
1 user (show)

See Also:
Web browser: Opera
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2011-08-17 20:50:48 UTC
This took me quite some while to figure out, since the Server just aborts the connection and I had no chance of getting an error message or even debugging it.

I had a Template which I couldn't call anylonger, always the connection to the server was canceled. Calling it with &action=edit still worked. I was able to call the page normally again after removing something like this:

[[Prop::asdffffaj sdklfjl asdlf jaölsdfjl ökasdjflkö jalksdjf klasdlfj lssasdfas dfasd fasdf asdfasdfasdfasdf asdf asdf asdf sadfasdfadsf safffffff kasdöfl kasdjlkf jasldjflkj alsdjlföj alsdjfl jalsdfj asdljfj lasdjfl ajsdfl jalsdfjl asdjflkj aklsdfj lkajsdf ljalsfffdjf lkasdjfl jasdljf laösdjföl jaölsdjfl jaösldkf lajsdlfasdf asdf asdfff asa sdf asdf asdf asdfasd fasfdsaasdfasdf]]

where Prop is a property of type Text. When I shortened the string it worked as well, don't know what's the exact length when everything goes nuts.

Doing the same with {{#set:}} worked just fine! It didn't work with [[Prop::...|]] though.

Tried to re-create the error in the sandbox but there it works. Perhaps it's fixed in 1.6 already (can't try it right now) or it is because of different server environment, this seems rather strange to me.
I had this running on Win XP in XAMPP with PHP 5.3.5, MW 1.17 and SMW 1.5.6
Any idea what this is all about?
Comment 1 Jeroen De Dauw 2011-08-25 12:47:03 UTC
I've not seen such an issue before. What type is this property?

In any case, if it cannot be reproduced on 1.6 and later, I suggest you simply upgrade to that version :)
Comment 2 Daniel A. R. Werner 2011-08-25 13:43:29 UTC
Can't upgrade right now because I have some Extensions of my own which I have to migrate first.
This also doesn't happen on my 1.16 MW on a linux server with same SMW version.

Type of the property is 'Text'!
I guess this is some Windows related problem or anything, it's so strange there is no error message at all, just the server canceling everything.
Comment 3 Markus Krötzsch 2012-02-11 16:49:23 UTC
I am closing this now as there does not seem a way to reproduce this on current versions of SMW.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links