Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 Re: Administration » Forms are not saved in pages » 16/11/2015 13:35:57

Yes, it's related to the Java version, I tried JDK 7 and it worked fine.

Thank you Cédric smile

#2 Re: Administration » Forms are not saved in pages » 14/11/2015 18:11:10

The version I downloaded from Ametys Website is 3.7.2 and Bitnami's one is 3.7.1
I debugged javascript but no errors are shown, also no other errors in general (I used Firebug add-on in Firefox)

I re-installed Ametys and tried to create a form and save it but encountered a workflow error, maybe it's related to the problem?

2015-11-14 17:55:34,416 ERROR [com.opensymphony.workflow.AbstractWorkflow] (8824445@qtp-12869066-19;/cms/plugins/core/servercomm/messages.xml) Error checking available actions
com.opensymphony.workflow.WorkflowException: Unknown exception encountered when checking condition org.ametys.cms.workflow.ValidateMetadataCondition@704998: root cause: javax.jcr.lock.LockException: Cannot add lock token: lock already held by other session. (lock held by node /ametys:root/ametys-internal:sites/45/7d/www/ametys-internal:contents/27/8a/test-page-article)

Please note that test-page-article is the article I added the form in but after saving, it's still not shown.

The log file of today is attached that has this error with other details.

#3 Re: Administration » Forms are not saved in pages » 11/11/2015 22:24:22

Update: I used the Bitnami Ametys Installer () for Windows and tested creating a form, it's created successfully and I can see it in the page after saving smile using the same version of Firefox I mentioned above. I can also see the form created in the repository with searching by the content name.

But why the form was not saved when using the Ametys installer in this download page () smile?

#4 Re: Administration » Forms are not saved in pages » 10/11/2015 20:18:26

Thank you Cédric for your fast reply smile
No problem, I got what you mean smile

I tried with the following 3 different browsers but still no form is created after saving:
Firefox 42.0
Chrome 46.0
Internet Explorer 11

Regarding searching in the repository, I searched by the content name which is "test-page-article-4" and got the following result after selecting ametys:content:

> /jcr:root/ametys:root/ametys-internal:sites/45/7d/www/ametys-internal:contents/78/ba/test-page-article-4/ametys:content

jcr:data (Binary)                   Download
jcr:lastModified (Date)           Tuesday, the 10th of November 2015 19:55:58
jcr:lastModifiedBy (String)      ametys
jcr:mimeType (String)           text/xml
jcr:primaryType (Name)        ametys:richText
jcr:uuid (String)                     153cf184-af02-4733-a33b-df7c83b7d084

I downloaded the data in jcr:data and they are as follows:
<?xml version="1.0" encoding="UTF-8"?>
-<article version="5.0" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook">
    <para>Please fill in the following fields:</para>
    <para> </para>
</article>

which has only the text I entered without the form.

#5 Re: Administration » Forms are not saved in pages » 10/11/2015 15:43:30

Hello Cédric,

I just tried to add a form again now (please note no error in GUI) and checked the log of today (servlet-engine-2015-11-10.log) in WEB-INF/logs but didn't find an error at this time.

The last log time in this file is from 2015-11-10 14:49:31 before creating the form. The log file is attached.


Kind Regards,
Mohamed Nofal

#6 Administration » Forms are not saved in pages » 10/11/2015 15:24:48

mnofal
Replies: 10

Hello Ametys Team,

First of all I would like to really thank you for this amazing Java CMS! smile I am really impressed with the level of simplicity (in GUI) and beauty of this CMS and it's also a powerful one.

I downloaded the demo package with the sample data set (on Windows) and also deployed the CMS from the beginning (on Ubuntu) but I faced an issue in both ways when trying to create a form (either a CMS Form or a form to external website), I can insert a form with fields as a content but after saving, I don't see the form I created in the page in the CMS admin area although I tried to create a form using the online demo on your website () and it's created successfully and I can see it.

Could you please advise what could be the problem?

Note: On Ubuntu when deploying from the beginning, I used JDK 8 and Tomcat 8.


Kind Regards,
Mohamed Nofal

Board footer

Powered by FluxBB