Jump to content

Extension talk:Cognitive Process Designer/Flow export

Add topic
From mediawiki.org

Displaying non editable diagrams ?

[edit]

Hello Tobias,

I have tested your extension and it's very powerful, thank you ! I wanted to know how we can display diagrams without being on the Special Page Cognitive Process Edit ?

I would like to have just a diagram in a wiki page where nodes and edge are clickable.

Thanks, see U Nicolas NALLET Wiki-Valley.com (talk) 10:19, 7 May 2016 (UTC)Reply

Hello
Thank you very much. Currently, you cannot display the Diagrams on the wiki pages. It is only possible on the Cognitive Process Edit Special page.
However, i also have the same request from a project partner. So i will implement this circumstance in the following.
Thanks!
Cheers
Tobi Tobias Weller (talk) 07:56, 29 June 2016 (UTC)Reply
Hey Nicolas,
i just updated the Extension to allow displaying BPMN diagrams on the wiki pages. Please download the latest version (v. 0.7) and insert the code, which is described in Section "Remarks", in the MediaWiki:Common.js to display BPMN diagrams on the wiki page. It has been tested on two Wiki instances and with Firefox, Chrome and Safari Browser, and it worked.
Thanks for your Feedback!
Cheers
Tobi Tobias Weller (talk) 12:20, 1 July 2016 (UTC)Reply
Hi,
I have added the code to the Common.js file. At the moment, when I attempt to add the diagram to a page using the xml code that is generated, it gives me the following error:
Diagram may not render correctly due to import warnings
There is a 'show details' link at the end of this message which takes you back to the top of the page if you click on it without displaying any additional information. Do you happen to know what is wrong? Am I not copying and pasting the xml code correctly or is something else the case? Jamal22066 (talk) 18:23, 25 September 2017 (UTC)Reply
[edit]

I get the message:

Not Found

[edit]

The requested URL /images/7/79/CognitiveProcess.zip was not found on this server.


Toine Schijvenaars (talk) 12:17, 6 July 2016 (UTC)Reply

Hey,
should be fixed?!...I can download the Cognitive Process Designer.
Cheers
Tobi Tobias Weller (talk) 13:44, 11 July 2016 (UTC)Reply
Dear Tobias,
Cognitive Process Designer extension is not available. 132.203.171.251 (talk) 19:12, 5 November 2016 (UTC)Reply
Thanks for the hint. I only updated the link in the right bar and forgot to update the link in the text. Now both are up to date to the latest version.
Cheers
Tobi Tobias Weller (talk) 22:48, 4 December 2016 (UTC)Reply
Hi I installed latest version of Cognitive process designer. Also I added the Remark sentence in MEdiawiki:Common.js. But still I am not able to render the process creted in special pages. I am getting the simple XML text. PLease help me 14.141.176.133 (talk) 06:30, 4 July 2018 (UTC)Reply

Cognitive Process Designer Edit

[edit]

When I open my Cognitive process Edit the Popup window box does not work. HuntingRoy (talk) 17:15, 6 December 2016 (UTC)Reply

Which versions of PHP, MediaWiki and this extension are you using? Is this specific to a certain browser? [[kgh]] (talk) 17:33, 6 December 2016 (UTC)Reply
Now I am using PHP Version:7.0.9 Mediawiki:1.27.1 and CognitiveProcessDesigner:0.7.2. No I try it both in Mozila Firefox and Google chrome but same problem happen. After I entering the name of the diagram click on Create BPMN. BPMN Diagram Popup Window does not disappears. 103.35.168.165 (talk) 13:46, 7 December 2016 (UTC)Reply
Thank you for being more elaborate about your setup and the issue as such. I am sure this will help @Tobias Weller to track down the issue more easily. [[kgh]] (talk) 14:06, 7 December 2016 (UTC)Reply
Hello Kghbln
Can you give me any Solution regarding this issue. I need your help why this is not working. Is there any problem to my configuration that I describe above. HuntingRoy (talk) 14:39, 10 December 2016 (UTC)Reply

compatibility to MW 1.23.10 ?

[edit]

Hello,

I wonder, if CPD 0.7.2 is working with MW 1.23.10, because I have a few issues.

- Icons are wrong (Create Task showes as a Sun)

- getting error Box ([object Object])

- some buttons doesn't show any pictures (helptext are correct)

I'm very interrested in this Extension and like to know, if it is still in progress?

PHP 5.6.8

IIS

Semantic Mediawiki 2.5.2

Bluespice 2.23.3 109.235.137.238 (talk) 16:26, 2 June 2017 (UTC)Reply

Rendering question

[edit]

The CPD extension is working correctly. However, the ability to add diagrams to a page is not working with the following error:

Diagram may not render properly due to import warnings

I see the following code in the xml file that is generated after a diagram is created:

<?xml version="1.0" encoding="UTF-8"?> <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">

Does this code mean that the URLs specified are required for the rendering to complete? Does this require internet connectivity for the rendering to work properly? Since the wiki I am working on does not have the ability to talk out to the internet will rendering of the diagram on a page not work? 66.77.160.179 (talk) 14:57, 27 September 2017 (UTC)Reply

Icons missing after applying BlueSpice

[edit]

Hi,

I have a MediaWiki install (version 1.28.2) with Cognitive Process Designer 0.7.2 and Semantic MediaWiki 2.5.2 and all was working great until I applied BlueSpice 2.27.3.

Since then the Cognitive Process Designer has lost its icons. See link.

https://www.dropbox.com/s/dvge7zl046wqqhj/CognitiveProcessDesigner_Missing_Icons.png?dl=0

Any ideas as to why this is happening? Note that the icons on the other WYSIWYG editors are working fine.

Many thanks. Trippymushroom (talk) 19:00, 31 July 2018 (UTC)Reply

Compatible with MW 1.31?

[edit]

This looks like a great extension.

Can someone affirm it's compatibility with MW 1.31? Revansx (talk) 15:26, 5 June 2019 (UTC)Reply

Je l'ai installé sur MW 1.31.6 et c'est fonctionnel ! IBikette (talk) 22:27, 2 April 2020 (UTC)Reply

Request to overtake maintainership

[edit]

I'd like to overtake maintainership for this extension. Could you please confirm? Osnard (talk) 14:15, 3 March 2020 (UTC)Reply

C'est une bonne idée, car elle est vraiment très utile !
At this URL: https://www.aifb.kit.edu/web/Tobias_Weller/en you will find his email if you want ;-) IBikette (talk) 22:36, 2 April 2020 (UTC)Reply
@Osnard, did you take ownership of this? Is it being developed on github? 156.68.220.121 (talk) 17:51, 7 July 2020 (UTC)Reply
I have not taken over maintainership yet, but will do so now. I have a bugfixed version of this extension in a private git repository. Need to make it public now. Please stay tuned. Osnard (talk) 05:55, 8 July 2020 (UTC)Reply
Please do. We are very eager to test this. Thanks! Revansx (talk) 18:06, 9 July 2020 (UTC)Reply
We would love to test this on MW 1.34. Can you share the latest version of the code? 156.68.218.200 (talk) 15:52, 9 July 2020 (UTC)Reply
I have already requested a repo on the WMF infrastructure. Once it is available I will publish the code and update the extension description page Osnard (talk) 07:46, 10 July 2020 (UTC)Reply
Cool, it's a good news !
Actually, I use it (REL1_31) and I like it. I'm just a beginner and the CPDTestSuite help me to learn BPMN.
But, do you know if it's possible to define a specific namespace and save all elements and processes associate in a subpage ?
Ex... Process:GIA-management/[ALL_ELEMENTS like Collaboration_, Participant_, Lane_, etc...]
P.S. excuse my poor english, if my question is not clear, don't hesitate to ask me for precision. IBikette (talk) 19:32, 15 July 2020 (UTC)Reply
Thank you! Revansx (talk) 12:06, 10 July 2020 (UTC)Reply
ref:
Thanks. Will upload the code as soon as possible Osnard (talk) 13:08, 20 July 2020 (UTC)Reply
Thanks! Very excited about adding this capability to my emw. My organization needs it desperately! ha ha. Revansx (talk) 13:15, 20 July 2020 (UTC)Reply
You can now download the new version. Tested with MediaWiki 1.31 but should also work on 1.35 Osnard (talk) 14:53, 27 July 2020 (UTC)Reply
This is great. Thanks! .. I'll try it today. Revansx (talk) 15:10, 27 July 2020 (UTC)Reply
No joy on initial install. Details here: Extension talk:Cognitive Process Designer/Flow export#h-Error_with_branch_REL1_31_on_MW_1.34-Not_Found-2020-07-27T16:00:00.000Z Revansx (talk) 20:40, 27 July 2020 (UTC)Reply
Sorry for that. I uploaded a patch. Osnard (talk) 08:43, 28 July 2020 (UTC)Reply
Extremely grateful for the fixes you've provided to get it to work on 1.34, I know that 1.34 isn't an LTS release, but it is the current release of MW. It's a shame to have it work working so well in 1.34 in all regards except for the ability to Load from an existing model page. Can you comment on how hard it might be to get this last MW 1.34 aspect of functionality fixed for 1.34? Thank you! Revansx (talk) 11:22, 31 July 2020 (UTC)Reply
My collague is already on it. Btw. new LTS 1.35 will be release very soon. Osnard (talk) 15:13, 31 July 2020 (UTC)Reply
thank you, yes. 1.35 LTS is imminent. if I'm not mistaken, all these fixes in 1.34 will be needed for 1.35 shortly, yes? 2600:1009:B157:5EAD:4108:6E43:F70D:3ACA (talk) 22:35, 31 July 2020 (UTC)Reply
Yes, they will. Osnard (talk) 09:25, 3 August 2020 (UTC)Reply
Any updates on new commits for 1.35? Revansx (talk) 12:24, 4 August 2020 (UTC)Reply
Thanks. looks like that solved a few issues. I noted the next layer of issues I'm seeing here: Extension talk:Cognitive Process Designer/Flow export#h-Issues_with_branch_master_(7/28)_on_MW_1.34-Not_Found-2020-07-28T11:45:00.000Z Revansx (talk) 11:53, 28 July 2020 (UTC)Reply
patch worked for new BPMN pages. But loading existing BPMN pages is an issue per: "Load BPMN from wiki" Revansx (talk) 02:34, 30 July 2020 (UTC)Reply

Compatible with MW 1.34?

[edit]

This looks like a great extension.

Can someone affirm it's compatibility with MW 1.34? 156.68.220.121 (talk) 17:49, 7 July 2020 (UTC)Reply

Error with branch REL1_31 on MW 1.34

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Fatal error: Class 'BlueSpice\SpecialPage' not found in /opt/htdocs/mediawiki/extensions/CognitiveProcessDesigner/src/Special/CognitiveSpecialPage.php on line 8

Any thoughts? Revansx (talk) 16:00, 27 July 2020 (UTC)Reply

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Issues with branch master (7/28) on MW 1.34

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Installed branch master (Change-Id: I7609f0505c4cdb050cbc5c55c6515b88c0db8e75) on MW 1.34 and saw that:

  • Special:CognitiveProcessDesignerEdit is listed
  • Special:CognitiveProcessDesignerTestSuit is not listed

also, when visiting Special:CognitiveProcessDesignerEdit the page loads with the BPMN editor screen in the greyed out in background with a dialog box presented asking to either "create new or load from wiki".

  • It is unresponsive to user choices and inputs

On Special:CognitiveProcessDesignerEdit the Browser developer Console reports:

JQMIGRATE: Migrate is installed with logging active, version 3.0.1
load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:241 JQMIGRATE: jQuery is not compatible with Quirks Mode
migrateWarn @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:241
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:242
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:240
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:240
runScript @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:13
execute @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:15
doPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:7
requestIdleCallback (async)
requestPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
setAndPropagate @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
implement @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:20
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:1
load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:287 This page is using the deprecated ResourceLoader module "jquery.tabIndex".
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:287
runScript @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:13
execute @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:15
doPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:7
requestIdleCallback (async)
requestPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
setAndPropagate @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
implement @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:20
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:1
load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:292 This page is using the deprecated ResourceLoader module "jquery.throttle-debounce".
Please use OO.ui.throttle/debounce instead. See https://phabricator.wikimedia.org/T213426
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:292
runScript @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:13
execute @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:15
doPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:7
requestIdleCallback (async)
requestPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
setAndPropagate @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
implement @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:20
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:1
load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:2 Exception in module-execute in module ext.cognitiveProcessDesignerEdit.special:
load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:2 ReferenceError: BpmnJS is not defined
    at load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:8
    at runScript (load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:13)
    at execute (load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:15)
    at doPropagation (load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:7)
logError @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:2
trackError @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:5
runScript @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:14
execute @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:15
doPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:7
requestIdleCallback (async)
requestPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
setAndPropagate @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
markModuleReady @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:13
runScript @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:14
(anonymous) @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:14
flushCssBuffer @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:6
requestAnimationFrame (async)
addEmbeddedCSS @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:6
execute @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:14
doPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:7
requestIdleCallback (async)
requestPropagation @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
setAndPropagate @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:8
implement @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:20
(anonymous) @ load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js%2Cspecial|ext.echo.api%2Cinit|ext.pageforms.browser%2Cpopupformedit|ext.popups|ext.uls.common%2Cinterface%2Cpreferences%2Cwebfonts|jquery%2Coojs%2Csite|jquery.client%2Ccookie%2CgetAttrs%2ChighlightText%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce|jquery.uls.data|mediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil|mediawiki.ForeignApi.core|mediawiki.editfont.styles|mediawiki.libs.pluralruleparser|mediawiki.page.ready%2Cstartup|mediawiki.template.regexp|skins.metrolook.collapsibleNav%2Cjs|user.defaults&skin=metrolook&version=1ma5f:1
load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:2 Exception in store-localstorage-update:
load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:2 DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'MediaWikiModuleStore:wiki_pbs-kms-dev' exceeded the quota.
    at flushWrites (https://pbs.grc.nasa.gov/pbs-kms-dev/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=metrolook:24:437)
Revansx (talk) 11:45, 28 July 2020 (UTC)Reply
"Special:CognitiveProcessDesignerTestSuit" does not need to be listed. It's not for end-users.
The actual error here is ReferenceError: BpmnJS is not defined. I will check this. The extension is only tested with MediaWiki 1.31 (= current LTS) at the moment. I also see you are using the "Metrolook" skin. Could you please check if it also happens on standard Vector? Osnard (talk) 14:58, 28 July 2020 (UTC)Reply
tested with Vector. No difference. Revansx (talk) 17:10, 28 July 2020 (UTC)Reply
This seems to be a version issue. As I said, currently it is only tested on MediaWiki 1.31. I have now submitted a patch that should make it work in ME 1.34 too. Osnard (talk) 12:07, 29 July 2020 (UTC)Reply
Thanks. Will test later today and let you know. Revansx (talk) 13:16, 29 July 2020 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to save a model? (MW 1.34 issue?)

[edit]

I'm running CPD branch master on MW 1.34 and I am able to create a BPMN model using the special page, but it is not clear to me how that model can/should be saved. Either I'm not understanding something basic about the extension or there is an issue in MW 1.34 wrt saving. Interestingly, the word "save" does not appear in the Special page when developing a model, nor does the word appear in the extension's documentation page. Please advise. Revansx (talk) 01:23, 30 July 2020 (UTC)Reply

so... I just looked at my Special:RecentChanges page and saw that the wiki pages are being created and edited in real time.. Am I correct in understanding that no save is needed? That saves are made literally "as you edit"? Revansx (talk) 01:48, 30 July 2020 (UTC)Reply

List of Pages/Page prefixes created by CPD

[edit]

Pages

  1. <pagename> (Category:BPMN), a BPMN model page
  2. Flow ####### (Category:SequenceFlow), a connecting line/edge
  3. Event ####### (No Category) - just
  4. Activity ####### (Category:BPMN Task), a rectangular task box
  5. Gateway #######‎‎
  6. DataOutputAssociation #######
  7. Participant ####### (Category: BPMN Participant)
  8. StartEvent #, a Start Event page with an autoindex

Properties

  1. Id - Type:Page
  2. Incoming - Type:Page
  3. Outgoing - Type:Page
  4. XBound - Type:Page
  5. YBound - Type:Page
  6. SourceRef - Type:Page
  7. TargetRef - Type:Page
  8. Has Element - Type:Page

‎‎ Revansx (talk) 01:52, 30 July 2020 (UTC)Reply

Issue: "Load BPMN from wiki" does not work (MW 1.34)

[edit]

On MW 1.34 it is not possible to "load" a BPMN article that clearly exists. No errors are produced. It just won't load.

Could this be similar to the "Fix MW 1.34+ compatibility" [1] that was needed for MW 1.34 compatibility wrt to "src/ResourceModule/BpmnJS.php"?

[1] https://github.com/wikimedia/mediawiki-extensions-CognitiveProcessDesigner/commit/8e79ab0f1d0149482a5e3453aa80d0ecebf5955f Revansx (talk) 02:33, 30 July 2020 (UTC)Reply

BPMN-Viewer

[edit]

Hi,

when browsing a wiki page with a bpmn model on it, there is no rendered image of the diagram shown.

Is it possible to show the diagram (not the xml representation) without going to the special pages section?

Best Regards 212.88.157.138 (talk) 11:29, 4 August 2020 (UTC)Reply

I have the same problem.
In the installation article, it is described how to add some code to MediaWiki:Common.js but the js and css mentioned there are non-existent.
Could please someone give advice how to use the diagrams?
Best regards.
Silke 87.79.93.111 (talk) 06:54, 22 September 2020 (UTC)Reply
Any news on that question? I have the same problem.
Kind Regards
Christoph 84.167.27.48 (talk) 21:09, 7 January 2021 (UTC)Reply

Where are bugs and feature requests being tracked?

[edit]

Are you guys using anything like phabricator or git to track bugs and/or feature requests? I've got a few minor things i'd like to get captured and can't find any place other than here to capture them. Where are bugs and tasks being tracked for this extension? Thanks! Revansx (talk) 17:16, 8 August 2020 (UTC)Reply

Installing Cognitive Process Designer

[edit]

1) Github's composer require hallowelt/cognitiveprocessdesigner dev-REL1_31 can't find the release.

2) LocalSettings wfLoadExtension( 'CognitiveProcessDesigner' ); raises two issues

i) PageForms is required. But it is Page Forms 4.5.1 GPL-2.0-or-later

ii) BlueSpiceFoundation is required. But No install Instructions. Only Full BluSpice3 Free instructions.


Product Version

MediaWiki 1.31.1

PHP 7.1.33 (litespeed)

MariaDB 10.3.24-MariaDB-cll-lve DuetSS (talk) 11:10, 8 October 2020 (UTC)Reply

White screen of death

[edit]

As soon as I add the line:

wfLoadExtension( 'CognitiveProcessDesigner' );

to LocalSettings.php after installation I get a white screen of death. I have Semantic MediaWiki setup and running.

debian 9 vm with 1GB RAM

MediaWiki 1.35.0

PHP 7.3.23-1+0~20201008.68+debian9~1.gbp30f6c3 (apache2handler)

MariaDB 10.1.45-MariaDB-0+deb9u1

ICU 65.1

Timeless theme.

Error message in /var/log/apache2/error.log:

[Sun Oct 11 11:21:22.333788 2020] [php7:error] [pid 1202] [client 192.168.1.2:56948] PHP Fatal error:  Uncaught Error: Class 'WebRequest' not found in /var/www/html/wiki/includes/HeaderCallback.php:63\nStack trace:\n#0 [internal function]: MediaWiki\\HeaderCallback::callback()\n#1 {main}\n  thrown in /var/www/html/wiki/includes/HeaderCallback.php on line 63


Anything very obviously wrong? Polymath uk (talk) 10:34, 11 October 2020 (UTC)Reply

I know the question is 2 years old, but I had the same problem. The PHP Error Log answered it, the extension needs the PageForms extension installed too. Martin schilliger (talk) 22:53, 12 January 2023 (UTC)Reply

Showing "Saving process..." but could not save

[edit]

Hi,

I'm using MW 1.35 and regularly installed the PageForms and CPD. I can successfully edit the graph, but I could not save the model. It keeps on showing "Saving process..." but could not save. How could I solve this ? Asd135441 (talk) 07:26, 9 August 2021 (UTC)Reply

I found that it does save all the nodes after saving but I cannot load the graph. The frontend in 1.35 doesn't have the "Load" Option, it just prompts the ID's name and after I entered the ID (name) , it returns me a new page. But every time I add new nodes in the blank page, these nodes still get saved as pages. Asd135441 (talk) 07:54, 9 August 2021 (UTC)Reply
I have exactly the same issue - have you found a solution to this issue? 138.40.68.56 (talk) 21:24, 16 August 2021 (UTC)Reply
Could you please open the browsers development tools (F12) and check if there are any errors reported to the "Console"? Osnard (talk) 13:53, 30 August 2021 (UTC)Reply
Sure. When I enter the Special:Cognitive_Process_Designer_Edit page, there are 2 warnings :
This page is using the deprecated ResourceLoader module "jquery.ui". Please use OOUI instead.
JQMIGRATE: jQuery.fn.delegate() is deprecated
And after I enter the name "test" in the search bar , an error occured:
VM283:107 Uncaught TypeError: Cannot read property '0' of null
    at Object.mapDiagramWikiToXml (<anonymous>:107:340)
    at <anonymous>:125:97
    at fire (load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js|jquery%2Coojs-ui-core%2Coojs-ui-widgets|jquery.ui&skin=vector&version=10mw1:519)
    at Object.fireWith [as resolveWith] (load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js|jquery%2Coojs-ui-core%2Coojs-ui-widgets|jquery.ui&skin=vector&version=10mw1:520)
    at Object.deferred.<computed> [as resolve] (load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js|jquery%2Coojs-ui-core%2Coojs-ui-widgets|jquery.ui&skin=vector&version=10mw1:523)
    at Object.<anonymous> (<anonymous>:141:391)
    at fire (load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js|jquery%2Coojs-ui-core%2Coojs-ui-widgets|jquery.ui&skin=vector&version=10mw1:519)
    at Object.fireWith [as resolveWith] (load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js|jquery%2Coojs-ui-core%2Coojs-ui-widgets|jquery.ui&skin=vector&version=10mw1:520)
    at done (load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js|jquery%2Coojs-ui-core%2Coojs-ui-widgets|jquery.ui&skin=vector&version=10mw1:602)
    at XMLHttpRequest.<anonymous> (load.php?lang=en&modules=ext.cognitiveProcessDesignerEdit.bpmn-js|jquery%2Coojs-ui-core%2Coojs-ui-widgets|jquery.ui&skin=vector&version=10mw1:605)
Asd135441 (talk) 12:23, 31 August 2021 (UTC)Reply
Can you also provide the server response that leads to this issue= It should be some call to api.php Osnard (talk) 13:16, 14 October 2021 (UTC)Reply
Hi!
I am having the same problem (stuck at "saving process"). The development console says Uncaught TypeError: this.savingProgressDialog is null. When I press the edit button, I also get an "Uncaught TypeError: ext.cpd is undefined" error. Can someone help me out here, please?
Thank you in advance!
Attila 178.164.202.22 (talk) 14:29, 5 January 2023 (UTC)Reply
Hi Attila,
Such problem should not appear with the latest extension code, could you try to update it please? AKulbii (talk) 08:51, 11 January 2023 (UTC)Reply
Hi!
Thank you for trying to help me! I updated the extension, now I have:
CognitiveProcessDesigner 2.1-alpha (2db6616)20:07, 2023 January 10
However, the problem persists, I am getting the following error messages:
[Log] JQMIGRATE: Migrate is installed with logging active, version 3.3.2 (load.php, line 658)
[Log] Exception in module-execute in module ext.cognitiveProcessDesigner.editor: (load.php, line 2)
[Warning] ReferenceError: Can't find variable: bs (load.php, line 2)
(anonymous function) — load.php:36:194
runScript — load.php:13:289
execute — load.php:14:888
doPropagation — load.php:7:400
(anonymous function) — load.php:24:368
[Error] TypeError: undefined is not an object (evaluating 'new ext.cpd.ProgressBarDialog')
init (load.php:23:923)
editBPMN (load.php:33:443)
(anonymous function) (load.php:36:110)
dispatch (load.php:583:266)
[Warning] LoadBPMNFromWiki failed:[object Object] (load.php, line 32)
[Error] TypeError: null is not an object (evaluating 'this.savingProgressDialog.open')
saveBPMN (load.php:33:751)
(anonymous function) (load.php:33:327)
dispatch (load.php:583:266) Attila.horvath (talk) 14:11, 11 January 2023 (UTC)Reply
I have the same problem, MediaWiki 1.39.1 and tried different versions of CognitiveProcessDesigner, right now I use:
Version 2.2-alpha, REL1_39, 2023-01-12T12:05:01, e41a11a Martin schilliger (talk) 23:01, 12 January 2023 (UTC)Reply
Hi,
I tried
CognitiveProcessDesigner 2.1-alpha (13aa826)20:07, 2023 January 17
to no avail, the exact same symptoms arose :( Attila.horvath (talk) 10:26, 19 January 2023 (UTC)Reply
Hi!
Is there any update on this problem? I keep trying, installing every new version that appears on github :( Attila.horvath (talk) 15:30, 25 January 2023 (UTC)Reply
Hi Attila!
I'm very sorry for such a late answer, I lost that issue from my scope for a while. I thought that I'll receive a notification about any answer, but I had it turned off in my preferences... Now I fixed that.
Finally I found the issue you described and fixed it. Please update to extension version 2.0.8 and check if it works. AKulbii (talk) 12:59, 7 February 2023 (UTC)Reply
Update: if you have MediaWiki version 1.36 or above - then just use corresponding extension REL1_XX branch.
For example, if you use MediaWiki 1.39 - branch REL1_39 should be used. AKulbii (talk) 09:59, 8 February 2023 (UTC)Reply
Hi AKulbii!
Thank you, I tried 2.0.8. Now the extension starts saving (got a progress bar), then a message shows up that says:
Error occurred! Failed uploading SVG
The console drops this:
error: {code: "verification-error", info: "The XML in the uploaded file could not be parsed.", details: ["uploadinvalidxml"]
*: "See http://192.168.1.4/mediawiki/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list a…"
code: "verification-error"
details: ["uploadinvalidxml"] (1)
info: "The XML in the uploaded file could not be parsed."
The article that contains the bpmn xml is there though, and I can reopen the bpmn diagram for editing. Attila.horvath (talk) 12:30, 12 February 2023 (UTC)Reply
Hi Attila
Probably that's issue with UTF-16 symbols in BPMN diagram, which I'm aware of.
Finally fixed that yesterday, I'll give you an update when fix will be pushed to extension repository. It should happen soon. AKulbii (talk) 09:07, 16 February 2023 (UTC)Reply
Hi Attila
Finally that UTF-16 symbols issue is fixed. Could you please update your extension?
You can try 2.0.10 version. AKulbii (talk) 10:12, 24 February 2023 (UTC)Reply
Hi,
I have the error "Veröffentlichen der Diagrammelemente im Wiki fehlgeschlagen" on saving using mediawiki 1.39.1 and CognitiveProcessDesigner 2.2-alpha (8776fa2) 13:09, 1. Mär. 2023
svg Uploads are enabled Dueni.f (talk) 13:34, 2 March 2023 (UTC)Reply

Special Pages not appearing - not able to use extension

[edit]

Hello. I followed the steps to install the extension and it appears correctly in the version special page (version 2.0.0 (be82d70) 07:20, 20 December 2021). However, I am not able to use any of the features of the extension as the special pages (as described in the usage section on the wiki) simply do not exist. Any help would be awesome! Thanks in advance. :-)

Extra info:

MW 1.35.4

SMW 3.2.3

PHP 7.3.31-1~deb10u1 (fpm-fcgi)

MariaDB 10.3.32 focal

OS Debian GNU/Linux 10 (buster) on Windows 10 x86_64 Notjohannes (talk) 15:04, 20 December 2021 (UTC)Reply

Sorry. Apparently an update do the extensions documentation page has been rolled back. Please check https://www.mediawiki.org/w/index.php?title=Extension:Cognitive_Process_Designer&oldid=4910916 on proper usage instructions. Osnard (talk) 10:34, 21 December 2021 (UTC)Reply
Ah! Thank you so much! The plugin seems to be working now with the new tutorial. I am only having trouble with the SVG upload ("Failed to upload SVG"), but I think this is out of the control of the extension and more of a problem with my current MW setup. Have you heard of this problem before? Is there any hint you can give me? (I already have SVG as an allowed extension on the site).
If you do not know, don't worry about it! Thanks again. Notjohannes (talk) 01:44, 23 December 2021 (UTC)Reply
did you modify the rights to the images folder (within the wiki root)? If this isn't writable, it's not working. That was the problem on my side. Mira342 (talk) 22:03, 18 March 2022 (UTC)Reply

Diagram saving error

[edit]

Hi, I installed 2.2-alpha on my private wiki running on MW1.39. Everything else seems working but when I'm trying to save a diagram I'm getting "Failed posting diagram elements to wiki" popup error so is there any bug or something and how to fix it? Please note that I'm not using composer or Semantic MW.


I can confirm that file upload is enabled with SVG format.


Thank you 123.136.150.227 (talk) 07:02, 24 March 2023 (UTC)Reply

PageForms incompatible version for MW 1.39

[edit]

Installed REL1_39 branch versions of PageForms and CognitiveProcessDesigner


$ docker-compose exec mediawiki  php maintenance/update.php

Fatal error: Uncaught ExtensionDependencyError: CognitiveProcessDesigner is not compatible with the current installed version of PageForms (5.4), it requires: ~5.6. Dimka665 (talk) 18:10, 21 September 2023 (UTC)Reply

Extension:PageForms has declared
Compatibility policy Master maintains backward compatibility.
Please do not use REL1_39 of that extension, but master. Osnard (talk) 05:59, 22 September 2023 (UTC)Reply

Get mediaWiki Error: Class "MWStake\MediaWiki\Component\ProcessManager\ProcessManager" not found

[edit]

I have installed mediaWiki with version 1.39 LTS together with the extension "Page Forms" and the "Cognitive Process Designer".

The wiki of the Cognitive Process Designer says that you should enter this command in the terminal for the background service:

php extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php maintenance/Maintenance.php --wait


Unfortunately, I get the following errors when I do this:

/usr/bin/php /var/www/html/mediawiki/extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php maintenance/Maintenance.php --wait

[f84ac3ccf60395c0b4824c20] [no req] Error: Class "MWStake\MediaWiki\Component\ProcessManager\ProcessManager" not found Backtrace:

from/var/www/html/mediawiki/extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php(31)

/var/www/html/mediawiki/maintenance/includes/MaintenanceRunner.php(309): ProcessRunner->execute() /var/www/html/mediawiki/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run()

/var/www/html/mediawiki/extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php(157): require_once(string)

{main}


I have called the given command. I expect the background service to start. 149.220.16.9 (talk) 11:32, 4 April 2024 (UTC)Reply

Thank you for this feedback! CPD is currently reworked and we hope to release a new version end of Q2.
For your problem please use our forum, which provides a higher attention by the developers https://community.bluespice.com/
RH 2003:E9:AF48:F101:E192:EA8B:CE81:8693 (talk) 19:16, 4 April 2024 (UTC)Reply
Hello and thanks for your hint! We had a second look and found a bug related to this problem. We plan to release the bugfix end of april 2024.
Since then you could also fix it by yourself if you add these two lines to the extension.json file in the Cognitive Process Designer extension:
"load_composer_autoloader": true,
"callback": "mwsInitComponents",
and run maintenance/update.php.
We hope, we could help you with this. Driedmueller (talk) 10:32, 8 April 2024 (UTC)Reply

Refused to execute script from 'http:/.....1080/mediawiki-server/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

[edit]

I am seeing this error in the console, for further, I enable the debug mode and visit the link it shows me this error, right now Cognitive Process Designer diagram isn't shows, the loading icon continuously appearing over the page.

[62c7061bdcc4a3cb3550d53d] /mediawiki-server/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector Error: Class 'MWStake\MediaWiki\Component\ManifestRegistry\ManifestAttributeBasedRegistry' not found

Backtrace:

from /var/www/html/mediawiki-server/extensions/CognitiveProcessDesigner/src/CpdInspectorPluginModules.php(13) Subhanaliweb (talk) 16:57, 14 April 2024 (UTC)Reply

Support for this extension

[edit]
MLRodrigue (talk) 14:26, 27 November 2024 (UTC)Reply