cancel
Showing results for 
Search instead for 
Did you mean: 

Error with WebForms (..provide required Fields)

xexiz
Champ in-the-making
Champ in-the-making
I hope someone already got this problem. Everyday.. I really don't know why.. this is happening. Every field in my Form is completed.. and I've tried so much different forms. But this error keeps coming back. I can't press next, back neither Finish.. i only can Cancel.

The temporary solution for this comportement is to close the browser and clean all the Cache, Saved Forms, Download History, Browsing History. But this has no sense at all. I DONT want to do tihs everyday and type back the informations in the form several time..

I'm hoping someone could help me.
***************
-I'm using Firefox 2.0.0.11
-and using alfresco 2.1 downloaded from this link (http://sourceforge.net/project/showfiles.php?group_id=143373&package_id=207402&release_id=524562)
*****************

Thanks!

Here's a screen of this problem:
[img]http://img180.imageshack.us/img180/2969/alfrescowebformerrorky1.jpg[/img]
10 REPLIES 10

pmonks
Star Contributor
Star Contributor
Can you post your XML Schema?

xexiz
Champ in-the-making
Champ in-the-making
Here's the schema! And I would like to add to my original post that i've try with Internet Explorer these last days and it happened sometimes too so the problem isnt the browser I guess.. This bug append right in a demo yesterday! .. :evil:

Thx for your help

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:alf="http://www.alfresco.org" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="News">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="2" name="Content">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Title" type="xs:normalizedString" />
              <xs:element name="Body" type="xs:string" />
            </xs:sequence>
            <xs:attribute name="lang">
              <xs:simpleType>
                <xs:restriction base="xs:normalizedString">
                  <xs:enumeration value="en">
                    <xs:annotation>
                      <xs:appinfo>
                        <alf:label xmlns:alf="http://www.alfresco.org">English</alf:label>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="fr">
                    <xs:annotation>
                      <xs:appinfo>
                        <alf:label xmlns:alf="http://www.alfresco.org">Français</alf:label>
                      </xs:appinfo>
                    </xs:annotation>
                  </xs:enumeration>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="Type">
          <xs:simpleType>
            <xs:restriction base="xs:normalizedString">
              <xs:enumeration value="Financial Results" />
              <xs:enumeration value="Internal Communications" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="PublishingDate" type="xs:date" />
        <xs:element name="NbForIndex" type="xs:integer">
          <xs:annotation>
            <xs:appinfo>
              <alf:label xmlns:alf="http://www.alfresco.org">How much will appear on index?</alf:label>
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

pmonks
Star Contributor
Star Contributor
I uploaded your schema into a local instance I have running here (a 2.1 nightly build, so post-2.1.1 but pre-2.1.2) and it worked fine.  One thing I noticed is that I have an additional mandatory field at the end of the form, with a caption of "How much will appear on index?" that I don't see in your screen shot - perhaps that's the problem?

xexiz
Champ in-the-making
Champ in-the-making
Like I said, it happens sometime.. but, well i'm working on alfresco each day and everyday I got that bug.. the last field is only because I've add it between my first post and your answer hehe sry!

At least I know it's not a browser thing because I got this error on IE too last week. After several time with the same form this error always happen, I just dont know how to force it, to happen the first time! I can't control it and i'm not doing anything special but filling the form to create items, or fill it, then cancel and go change the webForm then go back etc.. no special action there. Smiley Sad I know it's not easy for you to help me but i'm trying to explain it the best way i could, beside my poor english syntax hehe

xexiz
Champ in-the-making
Champ in-the-making
found something interesting..

http://forums.alfresco.com/viewtopic.php?p=28949#28949
http://issues.alfresco.com/browse/WCM-833

this is telling me it's Fixed but how come i'm still having this error every single day whatever what I do, in IE and FF, clearing cookies, Caches etc sometime make it work for an hour.. but it's always coming back!

kvc
Champ in-the-making
Champ in-the-making
What version of Alfresco are you currently using?

Kevin

xexiz
Champ in-the-making
Champ in-the-making
told in first post! having the last version I can… (excluding the 2.9 thing..)

I'm hoping someone could help me.
***************
-I'm using Firefox 2.0.0.11
-and using alfresco 2.1 downloaded from this link (http://sourceforge.net/project/showfiles.php?group_id=143373&package_id=207402&release_id=524562)
*****************

mvlach
Champ in-the-making
Champ in-the-making
Try to delete all cookies from the browser.

see:

http://forums.alfresco.com/viewtopic.php?p=35492#35492



M.

write if not works

xexiz
Champ in-the-making
Champ in-the-making
I've try several times.. sometimes it worked but yesterday I've flushed cookies, caches etc, and closed the browser each times, tried with IE7 and FF2.0 and wasnt able to fix it temporarly so I Had to reboot, and it worked for.. like 3 times! it's always coming back, whatever what i'm doing!