[xwiki-users] "Large XAR Import" macro fails to execute on 5.0.3
Hello. I have a 200MB XAR file that I'm trying to import in a XWiki 5.0.3 installation, but the "Large XAR Import" extention[1] fails with the following: Caused by: javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:152) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:279) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:213) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:173) ... 106 more Caused by: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:349) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:146) ... 109 more Caused by: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at Script19.run(Script19.groovy:214) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:346) ... 110 more Anybody has any suggestions about how to fix this? My XWiki is installed from deb[2] on Ubuntu 12.04.2 LTS, running under tomcat7. 1/ http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import 2/ http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT Thank you, -- Fita Adrian
Looks like my xwiki/1.0 -> xwiki/2.x conversion was not quite complete. Try again now. On Fri, Jun 7, 2013 at 3:19 PM, Adrian Fita <[email protected]> wrote:
Hello.
I have a 200MB XAR file that I'm trying to import in a XWiki 5.0.3 installation, but the "Large XAR Import" extention[1] fails with the following:
Caused by: javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:152) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:279) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:213) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:173) ... 106 more Caused by: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:349) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:146) ... 109 more Caused by: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at Script19.run(Script19.groovy:214) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:346) ... 110 more
Anybody has any suggestions about how to fix this? My XWiki is installed from deb[2] on Ubuntu 12.04.2 LTS, running under tomcat7.
1/ http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import 2/ http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
Thank you, -- Fita Adrian _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thank you. It worked fine with this new version. -- Fita Adrian On Fri, Jun 7, 2013 at 6:25 PM, Thomas Mortagne <[email protected]>wrote:
Looks like my xwiki/1.0 -> xwiki/2.x conversion was not quite complete.
Try again now.
On Fri, Jun 7, 2013 at 3:19 PM, Adrian Fita <[email protected]> wrote:
Hello.
I have a 200MB XAR file that I'm trying to import in a XWiki 5.0.3 installation, but the "Large XAR Import" extention[1] fails with the following:
Caused by: javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:152) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:279) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:213) at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:173) ... 106 more Caused by: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:349) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:146) ... 109 more Caused by: groovy.lang.MissingPropertyException: No such property: context for class: javax.script.SimpleScriptContext at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at Script19.run(Script19.groovy:214) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:346) ... 110 more
Anybody has any suggestions about how to fix this? My XWiki is installed from deb[2] on Ubuntu 12.04.2 LTS, running under tomcat7.
1/ http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import 2/ http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
Thank you, -- Fita Adrian _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hello, In order to improve my Xwiki, I changed the database to a MS SQL server. Then I installed again the xwiki with Tomcat7. I followed the WAR instructions and I have got a successful installation. As result I have now a empty wiki. Well, now I am facing some problems to import the default page packet. Following the instructions in site (Xwiki) I accessed the Import feature by this address: http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences BUT, I am always redirected to the default login page, the I cant import pages... I know that I don't have administrator users. How I can import the basic content? Thank you Danilo
Hi, On Jun 10, 2013, at 8:07 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello,
In order to improve my Xwiki, I changed the database to a MS SQL server.
<half-joking mode> This phrase doesn't compute for me. Combining "MS SQL server" and "improve xwiki" in the same sentence is… strange at best ;) </half-joking mode> More seriously, just know that MS SQL Server is not supported. It may or may not work. For the list of officially supported DBs, see http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy Thanks -Vincent
Then I installed again the xwiki with Tomcat7. I followed the WAR instructions and I have got a successful installation. As result I have now a empty wiki.
Well, now I am facing some problems to import the default page packet.
Following the instructions in site (Xwiki) I accessed the Import feature by this address: http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences
BUT, I am always redirected to the default login page, the I cant import pages... I know that I don't have administrator users.
How I can import the basic content?
Thank you Danilo
Ty for information Vincent. About the MS SQL, yeah it's difficult to improve something open source and good with their products.. hehe But analyzing by the integrity of data side, to put the MS SQL instead of HSQLDB it's an improvement! Well, I talked with my DB team and they will create a Oracle DB to XWiki. I will try again, then. Ty Danilo -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: segunda-feira, 10 de junho de 2013 16:08 Para: XWiki Users Assunto: Re: [xwiki-users] First Import Xwiki Hi, On Jun 10, 2013, at 8:07 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello,
In order to improve my Xwiki, I changed the database to a MS SQL server.
<half-joking mode> This phrase doesn't compute for me. Combining "MS SQL server" and "improve xwiki" in the same sentence is... strange at best ;) </half-joking mode> More seriously, just know that MS SQL Server is not supported. It may or may not work. For the list of officially supported DBs, see http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy Thanks -Vincent
Then I installed again the xwiki with Tomcat7. I followed the WAR instructions and I have got a successful installation. As result I have now a empty wiki.
Well, now I am facing some problems to import the default page packet.
Following the instructions in site (Xwiki) I accessed the Import feature by this address: http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences
BUT, I am always redirected to the default login page, the I cant import pages... I know that I don't have administrator users.
How I can import the basic content?
Thank you Danilo
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Does not have much to do with the database, starting with 5.0 guest user does not have admin right in an empty wiki anymore, you have to use superadmin (see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security#HSuperadminacco...) to do this import. Any specific reason to not use Distribution Wyzard ? On Mon, Jun 10, 2013 at 10:00 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Ty for information Vincent.
About the MS SQL, yeah it's difficult to improve something open source and good with their products.. hehe
But analyzing by the integrity of data side, to put the MS SQL instead of HSQLDB it's an improvement!
Well, I talked with my DB team and they will create a Oracle DB to XWiki. I will try again, then.
Ty Danilo
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: segunda-feira, 10 de junho de 2013 16:08 Para: XWiki Users Assunto: Re: [xwiki-users] First Import Xwiki
Hi,
On Jun 10, 2013, at 8:07 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello,
In order to improve my Xwiki, I changed the database to a MS SQL server.
<half-joking mode> This phrase doesn't compute for me. Combining "MS SQL server" and "improve xwiki" in the same sentence is... strange at best ;) </half-joking mode>
More seriously, just know that MS SQL Server is not supported. It may or may not work. For the list of officially supported DBs, see http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy
Thanks -Vincent
Then I installed again the xwiki with Tomcat7. I followed the WAR instructions and I have got a successful installation. As result I have now a empty wiki.
Well, now I am facing some problems to import the default page packet.
Following the instructions in site (Xwiki) I accessed the Import feature by this address: http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences
BUT, I am always redirected to the default login page, the I cant import pages... I know that I don't have administrator users.
How I can import the basic content?
Thank you Danilo
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hello Thomas, Thank you, I didn't know about the superuser. It will solve my problem! Well, I am not using the distribution wizard because I want to use tomcat and a different DB to Xwiki. Danilo -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Thomas Mortagne Enviada em: terça-feira, 11 de junho de 2013 04:16 Para: XWiki Users Assunto: Re: [xwiki-users] RES: First Import Xwiki Does not have much to do with the database, starting with 5.0 guest user does not have admin right in an empty wiki anymore, you have to use superadmin (see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security#HSuperadminacco...) to do this import. Any specific reason to not use Distribution Wyzard ? On Mon, Jun 10, 2013 at 10:00 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Ty for information Vincent.
About the MS SQL, yeah it's difficult to improve something open source and good with their products.. hehe
But analyzing by the integrity of data side, to put the MS SQL instead of HSQLDB it's an improvement!
Well, I talked with my DB team and they will create a Oracle DB to XWiki. I will try again, then.
Ty Danilo
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: segunda-feira, 10 de junho de 2013 16:08 Para: XWiki Users Assunto: Re: [xwiki-users] First Import Xwiki
Hi,
On Jun 10, 2013, at 8:07 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello,
In order to improve my Xwiki, I changed the database to a MS SQL server.
<half-joking mode> This phrase doesn't compute for me. Combining "MS SQL server" and "improve xwiki" in the same sentence is... strange at best ;) </half-joking mode>
More seriously, just know that MS SQL Server is not supported. It may or may not work. For the list of officially supported DBs, see http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy
Thanks -Vincent
Then I installed again the xwiki with Tomcat7. I followed the WAR instructions and I have got a successful installation. As result I have now a empty wiki.
Well, now I am facing some problems to import the default page packet.
Following the instructions in site (Xwiki) I accessed the Import feature by this address: http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences
BUT, I am always redirected to the default login page, the I cant import pages... I know that I don't have administrator users.
How I can import the basic content?
Thank you Danilo
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Good Morning People! More one day working in XWiki! Well, I have talked with my team and we want to use the Xwiki to save our ITIs (Information Technology Instructions) but I will need implement specifics customizations. Well, Ii is two customizations. First: create a template to ITI document. It is ok, I did through the Template tool. Second: Implement request approval flow to changes in the ITI documents. All changes in our ITI need to be approved by our manager, then my idea is: All changes done in the ITI document generate a request to our manager (email) that can approve or not the change. I am thinking to put a "state" in the document that represents if the document is updated, in other words, if it the last updated has less than 1 year. Updated less than 1 year -> Document OK (green) Updated bigger than 1 year -> Document not OK (red) How can I do it? Will I need to develop any extension? Ty Danilo
On Wed, Jun 12, 2013 at 2:53 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello Thomas,
Thank you, I didn't know about the superuser. It will solve my problem!
Well, I am not using the distribution wizard because I want to use tomcat and a different DB to Xwiki.
You can use the Distribution Wizard with any Java application server and any database supported by XWiki. Hope this helps, Marius
Danilo
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Thomas Mortagne Enviada em: terça-feira, 11 de junho de 2013 04:16 Para: XWiki Users Assunto: Re: [xwiki-users] RES: First Import Xwiki
Does not have much to do with the database, starting with 5.0 guest user does not have admin right in an empty wiki anymore, you have to use superadmin (see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security#HSuperadminacco...) to do this import. Any specific reason to not use Distribution Wyzard ?
On Mon, Jun 10, 2013 at 10:00 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Ty for information Vincent.
About the MS SQL, yeah it's difficult to improve something open source and good with their products.. hehe
But analyzing by the integrity of data side, to put the MS SQL instead of HSQLDB it's an improvement!
Well, I talked with my DB team and they will create a Oracle DB to XWiki. I will try again, then.
Ty Danilo
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: segunda-feira, 10 de junho de 2013 16:08 Para: XWiki Users Assunto: Re: [xwiki-users] First Import Xwiki
Hi,
On Jun 10, 2013, at 8:07 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello,
In order to improve my Xwiki, I changed the database to a MS SQL server.
<half-joking mode> This phrase doesn't compute for me. Combining "MS SQL server" and "improve xwiki" in the same sentence is... strange at best ;) </half-joking mode>
More seriously, just know that MS SQL Server is not supported. It may or may not work. For the list of officially supported DBs, see http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy
Thanks -Vincent
Then I installed again the xwiki with Tomcat7. I followed the WAR instructions and I have got a successful installation. As result I have now a empty wiki.
Well, now I am facing some problems to import the default page packet.
Following the instructions in site (Xwiki) I accessed the Import feature by this address: http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences
BUT, I am always redirected to the default login page, the I cant import pages... I know that I don't have administrator users.
How I can import the basic content?
Thank you Danilo
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Danilo. You have several options: - Create a "DocumentListener" which will be called each time a document is saved. Then, you can script whatever you want, as sending an email, etc... http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial - Create a "Scheduler Job", which will be executed once a day (or every hours, or every minutes, as you like), that looks at the document status and send an email if needed. http://extensions.xwiki.org/xwiki/bin/view/Extension/Scheduler+Application The 2 options need the use of the Groovy language. I hope it helps. Louis-Marie 2013/6/12 Danilo Amaral de Oliveira <[email protected]>
Good Morning People!
More one day working in XWiki!
Well, I have talked with my team and we want to use the Xwiki to save our ITIs (Information Technology Instructions) but I will need implement specifics customizations.
Well, Ii is two customizations.
First: create a template to ITI document. It is ok, I did through the Template tool.
Second: Implement request approval flow to changes in the ITI documents. All changes in our ITI need to be approved by our manager, then my idea is: All changes done in the ITI document generate a request to our manager (email) that can approve or not the change. I am thinking to put a "state" in the document that represents if the document is updated, in other words, if it the last updated has less than 1 year. Updated less than 1 year -> Document OK (green) Updated bigger than 1 year -> Document not OK (red)
How can I do it? Will I need to develop any extension?
Ty Danilo
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hello Louis, I have architected the solution! I will first try use the second option . I will create a template to ITI with a "Status" Property with three values: "Approved", "Disapproved" and "Pending Approval" . One time a week I will trigger the scheduler job to send an email to the manager with the "pending approval". One time a month I will trigger the scheduler job to trigger an email to the team with the list with the outdate and disapproved ITIs. It will solve our problem by now! Ty Danilo -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Guillaume "Louis-Marie" Delhumeau Enviada em: quinta-feira, 13 de junho de 2013 09:38 Para: XWiki Users Assunto: Re: [xwiki-users] RES: Approval Request ITI Hi Danilo. You have several options: - Create a "DocumentListener" which will be called each time a document is saved. Then, you can script whatever you want, as sending an email, etc... http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial - Create a "Scheduler Job", which will be executed once a day (or every hours, or every minutes, as you like), that looks at the document status and send an email if needed. http://extensions.xwiki.org/xwiki/bin/view/Extension/Scheduler+Application The 2 options need the use of the Groovy language. I hope it helps. Louis-Marie 2013/6/12 Danilo Amaral de Oliveira <[email protected]>
Good Morning People!
More one day working in XWiki!
Well, I have talked with my team and we want to use the Xwiki to save our ITIs (Information Technology Instructions) but I will need implement specifics customizations.
Well, Ii is two customizations.
First: create a template to ITI document. It is ok, I did through the Template tool.
Second: Implement request approval flow to changes in the ITI documents. All changes in our ITI need to be approved by our manager, then my idea is: All changes done in the ITI document generate a request to our manager (email) that can approve or not the change. I am thinking to put a "state" in the document that represents if the document is updated, in other words, if it the last updated has less than 1 year. Updated less than 1 year -> Document OK (green) Updated bigger than 1 year -> Document not OK (red)
How can I do it? Will I need to develop any extension?
Ty Danilo
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
OK. (BTW "Louis-Marie" is my first name, not "Louis" ;)). Just take care about the fact that the creator of the document will have the right to change the "status" property if it is stored as an object on the page, just by editing the document with the "object" editor. It is not very secured, but it may be enough for lambda users. LM 2013/6/13 Danilo Amaral de Oliveira <[email protected]>
Hello Louis,
I have architected the solution! I will first try use the second option .
I will create a template to ITI with a "Status" Property with three values: "Approved", "Disapproved" and "Pending Approval" .
One time a week I will trigger the scheduler job to send an email to the manager with the "pending approval".
One time a month I will trigger the scheduler job to trigger an email to the team with the list with the outdate and disapproved ITIs.
It will solve our problem by now!
Ty Danilo
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Guillaume "Louis-Marie" Delhumeau Enviada em: quinta-feira, 13 de junho de 2013 09:38 Para: XWiki Users Assunto: Re: [xwiki-users] RES: Approval Request ITI
Hi Danilo.
You have several options:
- Create a "DocumentListener" which will be called each time a document is saved. Then, you can script whatever you want, as sending an email, etc...
http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial
- Create a "Scheduler Job", which will be executed once a day (or every hours, or every minutes, as you like), that looks at the document status and send an email if needed. http://extensions.xwiki.org/xwiki/bin/view/Extension/Scheduler+Application
The 2 options need the use of the Groovy language.
I hope it helps.
Louis-Marie
2013/6/12 Danilo Amaral de Oliveira <[email protected]>
Good Morning People!
More one day working in XWiki!
Well, I have talked with my team and we want to use the Xwiki to save our ITIs (Information Technology Instructions) but I will need implement specifics customizations.
Well, Ii is two customizations.
First: create a template to ITI document. It is ok, I did through the Template tool.
Second: Implement request approval flow to changes in the ITI documents. All changes in our ITI need to be approved by our manager, then my idea is: All changes done in the ITI document generate a request to our manager (email) that can approve or not the change. I am thinking to put a "state" in the document that represents if the document is updated, in other words, if it the last updated has less than 1 year. Updated less than 1 year -> Document OK (green) Updated bigger than 1 year -> Document not OK (red)
How can I do it? Will I need to develop any extension?
Ty Danilo
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (6)
-
Adrian Fita -
Danilo Amaral de Oliveira -
Guillaume "Louis-Marie" Delhumeau -
Marius Dumitru Florea -
Thomas Mortagne -
Vincent Massol