https://bugzilla.wikimedia.org/show_bug.cgi?id=35509
Web browser: ---
Bug #: 35509
Summary: setting a property with a special property value of
type date causes fatal error on data refresh (1.7.1)
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
When setting a regular property by querying for the value of a special property
of type date like e.g.
{{#set:Has revision date={{#show:{{PAGENAME}}|?Modification date}}}}
one gets the following error upon refreshing the semantic data:
PHP Fatal error: Call to a member function getYear() on a non-object in
/.../extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Time.php on line
839
Probably this also applies to special property "Creation date".
I know that it is not possible to set the value a special property manually,
but in this case I am setting a regular property by querying for the value of a
special property. Thus I believe that this is a valid bug.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l