Last modified: 2012-08-22 03:40:13 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 T41546, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39546 - Extra space in an empty date type property values generates value of Current date/time
Extra space in an empty date type property values generates value of Current ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
REL1_18-branch
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://scratchpad.referata.com/wiki/D...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-22 03:38 UTC by CW Dillon
Modified: 2012-08-22 03:40 UTC (History)
3 users (show)

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


Attachments

Description CW Dillon 2012-08-22 03:38:39 UTC
See initial discovery on smw-users list and example of problem on scratchpad.Referata [1].

If a property is declared in a page like [[Some date attribute:: ]] with a space between the empty value and the closing brackets, SMW will provide the current date/time stamp as the value (which hadn't been declared). This is most likely to occur when semantic properties are assigned to take values passed as template call parameters. If the template has space between the template field and the closing link brackets, SMW produces the same behavior.

Tested also with properties of type String and Number, which do not produce this behavior; seems to be limited to date type properties.

[1] http://scratchpad.referata.com/wiki/Default_Dates_Test_1

SMW version is 1.8alpha

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


Navigation
Links