Last modified: 2013-01-09 01:33:37 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 T37003, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35003 - Process: Call to undefined method SMWDIWikiPage::getTypeID()
Process: Call to undefined method SMWDIWikiPage::getTypeID()
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
PC Linux
: Unprioritized normal with 2 votes (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-06 08:42 UTC by Mario Schubert
Modified: 2013-01-09 01:33 UTC (History)
5 users (show)

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


Attachments

Description Mario Schubert 2012-03-06 08:42:26 UTC
Hello,

my installation:
MediaWiki 	1.18.1
Semantic Bundle (Version 20120124)
Semantic MediaWiki (Version 1.7.0.2)
Semantic Result Formats (Version 1.7)
Graphviz (Version 0.9.1 alpha)
and some other extensions.

I adopted the examples from: 
http://km.aifb.kit.edu/projects/process/index.php/Main_Page

But I get the following error message (/var/log/apache2/error.log) while processing the process pages. This pages do not load at all (white screen):

PHP Fatal error:  Call to undefined method SMWDIWikiPage::getTypeID() 
in /var/www/mediawiki-1.18.1/extensions/SemanticResultFormats/GraphViz/SRF_Process.php on line 155, referer: http://wiki/wiki/index.php?title=QM:Prozess_Test&action=edit

The process step pages and the rest of my MediaWiki work without 
problems.
I have pages with hand made Graphviz diagrams working.

I tested in Main namespace, too. Same result.

The query behind the template:
{{#ask: [[Category:Prozessschritte]] [[Category:{{FULLPAGENAME}}]]
| ?has OrSuccessor=hasorsuccessor
| ?has Successor=hassuccessor
| ?has ConTrueSuccessor=hascontruesuccessor
| ?has ConFalseSuccessor =hasconfalsesuccessor
| ?has Condition=hascondition
| ?has Role=hasrole
| ?uses Resource=usesresource
| ?has Status=hasstatus
| format=process
| graphsize=12,12
| graphvalidation={{{graphvalidation}}}
| showroles={{{showroles}}}
| showresources={{{showresources}}}
| showstatus={{{showstatus}}}
| showdiscussion=yes
| clustercolor=lightgrey
}}

Do you have any idea, what can cause this error.

Best regards
Mario
Comment 1 Jeroen De Dauw 2012-03-06 19:22:16 UTC
Looks like a compat issue w/ recent SMW. I tried to fix this in r113170 but have not tested, can you confirm it works?
Comment 2 Mario Schubert 2012-03-07 08:21:35 UTC
Thank you. I applied the patch, but getting the following error:

PHP Fatal error:  Call to a member function findPropertyTypeID() on a non-object in /var/www/mediawiki-1.18.1/extensions/SemanticMediaWiki/includes/SMW_DataValueFactory.php on line 130, referer: http://wiki/wiki/index.php?title=QM:Prozess&action=edit&redlink=1
Comment 3 Jeroen De Dauw 2012-03-07 18:34:25 UTC
What about after r113263?
Comment 4 Mario Schubert 2012-03-08 08:28:35 UTC
Thank you. Now its stopping later.

PHP Fatal error:  Call to undefined method SMWDIWikiPage::getShortWikiText() in /var/www/mediawiki-1.18.1/extensions/SemanticResultFormats/GraphViz/SRF_Process.php on line 257, referer: http://wiki/wiki/index.php?title=QM:Prozess&action=edit
Comment 5 Mario Schubert 2012-03-13 09:43:43 UTC
Do you need more Information? What can I test/check for you?
Comment 6 Jeroen De Dauw 2012-03-13 17:53:01 UTC
Bah. That code with the issue in it is copied all over the place. The stuff first need to be refactored a bit before it can be fixed in a sane fashion. I'll try have a go at this soonish.
Comment 7 jjbustor 2012-08-10 07:41:07 UTC
Thanks in advance when fix done.
Any temporary workarounds for this one?
Comment 8 camille 2012-08-17 14:33:09 UTC
Thanks in advance too :)
I will use the other graphwiz representations waiting the new bundle (bubble graphs & cie looks great, nice job)
Comment 9 Jeroen De Dauw 2012-12-25 13:25:47 UTC
Should be fixed by https://gerrit.wikimedia.org/r/#/c/40356/

Can someone try it out and confirm?
Comment 10 Jeroen De Dauw 2013-01-09 01:33:37 UTC
Assuming this is fixed

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


Navigation
Links