AutoForm Plus - Posted content stored to Trashcan !? Options
kalpa
Posted: Wednesday, November 28, 2007 12:11:30 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi!

I just installed AutoFormPlus in my Umbraco 3.0.3 installation...

I have added all my doc-types to the structure tab in each relevant doc-type
When i click on submit everything seems to work perfect, but when I reload the nodes no data is saved below the content... But in the trashcan...

What have I done wrong here?

// ; ) Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
neehouse
Posted: Wednesday, November 28, 2007 7:52:21 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
Hi Kalle,

Did you specify in the macro where to store the new files (some macros have it, others do not).

If you are using the email only macro, it will remove the document as you are experiencing.

Feel free to contact me at casey@neehouse.com, and I would gladly give it a look, as it could potentially be a bug. :P

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
kalpa
Posted: Wednesday, November 28, 2007 8:37:27 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Casey and thanks for your reply!

I guess you mean the parameter "umbpageid" yes it set to "1191" wich is a node that allows this doc-type as child (structure tab)...

Code:

When I look in the error log I can see this message:
Error loading actionhandler 'umbEnsureUniqueName': System.ArgumentException:
No parentnode at umbraco.cms.businesslogic.CMSNode.get_Parent()
at umbraco.ActionHandlers.umbEnsureUniqueName.Execute(Document documentObject, IAction action)
at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)


This is what the macro div looks like in HTML view since I've inserted the autoform in the RTE... (I've just added line-breaks for readability):

// ; ) Kalle

Code:


<div
ondblclick="umbracoEditMacro(this);"
umb_editmode="0"
umb_pagetabs="0"
umb_titlename="Just a little test form"
umb_refreshtoparent="0"
umb_textonsubmit="done!"
umb_macroalias="AutoFormPlusInput"
umb_showdescriptions="0"
umb_hidetabnames="0"
umb_tabname="boktips"
umb_documenttype="1159"
umb_showtitle="1"
umb_requiredtext="Required"
umb_submitbuttontext="DFGZDG"
umb_publishonsubmit="0"
umb_publishwithuserid="1"
ismacro="true"
onresizestart="return false;"
umbversionid="bce70430-10e9-4eb9-b2e5-2662b7b9b928"
umbpageid="1191"
title="This is rendered content from a macro"
contenteditable="false"
class="umbMacroHolder mceNonEditable">



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
kalpa
Posted: Wednesday, November 28, 2007 8:37:59 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Casey and thanks for your reply!

I guess you mean the parameter "umbpageid" yes it set to "1191" wich is a node that allows this doc-type as child (structure tab)...

Code:

When I look in the error log I can see this message:
Error loading actionhandler 'umbEnsureUniqueName': System.ArgumentException:
No parentnode at umbraco.cms.businesslogic.CMSNode.get_Parent()
at umbraco.ActionHandlers.umbEnsureUniqueName.Execute(Document documentObject, IAction action)
at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)


This is what the macro div looks like in HTML view since I've inserted the autoform in the RTE... (I've just added line-breaks for readability):

// ; ) Kalle

Code:


<div
ondblclick="umbracoEditMacro(this);"
umb_editmode="0"
umb_pagetabs="0"
umb_titlename="Just a little test form"
umb_refreshtoparent="0"
umb_textonsubmit="done!"
umb_macroalias="AutoFormPlusInput"
umb_showdescriptions="0"
umb_hidetabnames="0"
umb_tabname="boktips"
umb_documenttype="1159"
umb_showtitle="1"
umb_requiredtext="Required"
umb_submitbuttontext="DFGZDG"
umb_publishonsubmit="0"
umb_publishwithuserid="1"
ismacro="true"
onresizestart="return false;"
umbversionid="bce70430-10e9-4eb9-b2e5-2662b7b9b928"
umbpageid="1191"
title="This is rendered content from a macro"
contenteditable="false"
class="umbMacroHolder mceNonEditable">



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
kalpa
Posted: Wednesday, November 28, 2007 8:38:45 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Casey and thanks for your reply!

I guess you mean the parameter "umbpageid" yes it set to "1191" wich is a node that allows this doc-type as child (structure tab)...

Code:

When I look in the error log I can see this message:
Error loading actionhandler 'umbEnsureUniqueName': System.ArgumentException:
No parentnode at umbraco.cms.businesslogic.CMSNode.get_Parent()
at umbraco.ActionHandlers.umbEnsureUniqueName.Execute(Document documentObject, IAction action)
at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)


This is what the macro div looks like in HTML view since I've inserted the autoform in the RTE... (I've just added line-breaks for readability):

// ; ) Kalle

Code:


<div
ondblclick="umbracoEditMacro(this);"
umb_editmode="0"
umb_pagetabs="0"
umb_titlename="Just a little test form"
umb_refreshtoparent="0"
umb_textonsubmit="done!"
umb_macroalias="AutoFormPlusInput"
umb_showdescriptions="0"
umb_hidetabnames="0"
umb_tabname="boktips"
umb_documenttype="1159"
umb_showtitle="1"
umb_requiredtext="Required"
umb_submitbuttontext="DFGZDG"
umb_publishonsubmit="0"
umb_publishwithuserid="1"
ismacro="true"
onresizestart="return false;"
umbversionid="bce70430-10e9-4eb9-b2e5-2662b7b9b928"
umbpageid="1191"
title="This is rendered content from a macro"
contenteditable="false"
class="umbMacroHolder mceNonEditable">



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
kalpa
Posted: Wednesday, November 28, 2007 8:39:16 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Casey and thanks for your reply!

I guess you mean the parameter "umbpageid" yes it set to "1191" wich is a node that allows this doc-type as child (structure tab)...

Code:

When I look in the error log I can see this message:
Error loading actionhandler 'umbEnsureUniqueName': System.ArgumentException:
No parentnode at umbraco.cms.businesslogic.CMSNode.get_Parent()
at umbraco.ActionHandlers.umbEnsureUniqueName.Execute(Document documentObject, IAction action)
at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)


This is what the macro div looks like in HTML view since I've inserted the autoform in the RTE... (I've just added line-breaks for readability):

// ; ) Kalle

Code:


<div
ondblclick="umbracoEditMacro(this);"
umb_editmode="0"
umb_pagetabs="0"
umb_titlename="Just a little test form"
umb_refreshtoparent="0"
umb_textonsubmit="done!"
umb_macroalias="AutoFormPlusInput"
umb_showdescriptions="0"
umb_hidetabnames="0"
umb_tabname="boktips"
umb_documenttype="1159"
umb_showtitle="1"
umb_requiredtext="Required"
umb_submitbuttontext="DFGZDG"
umb_publishonsubmit="0"
umb_publishwithuserid="1"
ismacro="true"
onresizestart="return false;"
umbversionid="bce70430-10e9-4eb9-b2e5-2662b7b9b928"
umbpageid="1191"
title="This is rendered content from a macro"
contenteditable="false"
class="umbMacroHolder mceNonEditable">



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
kalpa
Posted: Wednesday, November 28, 2007 8:39:38 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Casey and thanks for your reply!

I guess you mean the parameter "umbpageid" yes it set to "1191" wich is a node that allows this doc-type as child (structure tab)...

Code:

When I look in the error log I can see this message:
Error loading actionhandler 'umbEnsureUniqueName': System.ArgumentException:
No parentnode at umbraco.cms.businesslogic.CMSNode.get_Parent()
at umbraco.ActionHandlers.umbEnsureUniqueName.Execute(Document documentObject, IAction action)
at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)


This is what the macro div looks like in HTML view since I've inserted the autoform in the RTE... (I've just added line-breaks for readability):

// ; ) Kalle

Code:


<div
ondblclick="umbracoEditMacro(this);"
umb_editmode="0"
umb_pagetabs="0"
umb_titlename="Just a little test form"
umb_refreshtoparent="0"
umb_textonsubmit="done!"
umb_macroalias="AutoFormPlusInput"
umb_showdescriptions="0"
umb_hidetabnames="0"
umb_tabname="boktips"
umb_documenttype="1159"
umb_showtitle="1"
umb_requiredtext="Required"
umb_submitbuttontext="DFGZDG"
umb_publishonsubmit="0"
umb_publishwithuserid="1"
ismacro="true"
onresizestart="return false;"
umbversionid="bce70430-10e9-4eb9-b2e5-2662b7b9b928"
umbpageid="1191"
title="This is rendered content from a macro"
contenteditable="false"
class="umbMacroHolder mceNonEditable">



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
kalpa
Posted: Wednesday, November 28, 2007 8:44:48 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Casey and thanks for your reply!

I guess you mean the parameter "umbpageid" yes it set to "1191" wich is a node that allows this doc-type as child (structure tab)...

Code:

When I look in the error log I can see this message:
Error loading actionhandler 'umbEnsureUniqueName': System.ArgumentException:
No parentnode at umbraco.cms.businesslogic.CMSNode.get_Parent()
at umbraco.ActionHandlers.umbEnsureUniqueName.Execute(Document documentObject, IAction action)
at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)


This is what the macro div looks like in HTML view since I've inserted the autoform in the RTE... (I've just added line-breaks for readability):

// ; ) Kalle

Code:


<div
ondblclick="umbracoEditMacro(this);"
umb_editmode="0"
umb_pagetabs="0"
umb_titlename="Just a little test form"
umb_refreshtoparent="0"
umb_textonsubmit="done!"
umb_macroalias="AutoFormPlusInput"
umb_showdescriptions="0"
umb_hidetabnames="0"
umb_tabname="boktips"
umb_documenttype="1159"
umb_showtitle="1"
umb_requiredtext="Required"
umb_submitbuttontext="DFGZDG"
umb_publishonsubmit="0"
umb_publishwithuserid="1"
ismacro="true"
onresizestart="return false;"
umbversionid="bce70430-10e9-4eb9-b2e5-2662b7b9b928"
umbpageid="1191"
title="This is rendered content from a macro"
contenteditable="false"
class="umbMacroHolder mceNonEditable">



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
kalpa
Posted: Wednesday, November 28, 2007 8:46:03 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Casey and thanks for your reply!

I guess you mean the parameter "umbpageid" yes it set to "1191" wich is a node that allows this doc-type as child (structure tab)...

Code:

When I look in the error log I can see this message:
Error loading actionhandler 'umbEnsureUniqueName': System.ArgumentException:
No parentnode at umbraco.cms.businesslogic.CMSNode.get_Parent()
at umbraco.ActionHandlers.umbEnsureUniqueName.Execute(Document documentObject, IAction action)
at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)


This is what the macro div looks like in HTML view since I've inserted the autoform in the RTE... (I've just added line-breaks for readability):

// ; ) Kalle

Code:


<div
ondblclick="umbracoEditMacro(this);"
umb_editmode="0"
umb_pagetabs="0"
umb_titlename="Just a little test form"
umb_refreshtoparent="0"
umb_textonsubmit="done!"
umb_macroalias="AutoFormPlusInput"
umb_showdescriptions="0"
umb_hidetabnames="0"
umb_tabname="boktips"
umb_documenttype="1159"
umb_showtitle="1"
umb_requiredtext="Required"
umb_submitbuttontext="DFGZDG"
umb_publishonsubmit="0"
umb_publishwithuserid="1"
ismacro="true"
onresizestart="return false;"
umbversionid="bce70430-10e9-4eb9-b2e5-2662b7b9b928"
umbpageid="1191"
title="This is rendered content from a macro"
contenteditable="false"
class="umbMacroHolder mceNonEditable">



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
kalpa
Posted: Wednesday, November 28, 2007 8:47:54 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Hi Casey and thanks for your reply!

I guess you mean the parameter "umbpageid" yes it set to "1191" wich is a node that allows this doc-type as child (structure tab)...

Code:

When I look in the error log I can see this message:
Error loading actionhandler 'umbEnsureUniqueName': System.ArgumentException:
No parentnode at umbraco.cms.businesslogic.CMSNode.get_Parent()
at umbraco.ActionHandlers.umbEnsureUniqueName.Execute(Document documentObject, IAction action)
at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)


This is what the macro div looks like in HTML view since I've inserted the autoform in the RTE... (I've just added line-breaks for readability):

// ; ) Kalle

Code:


<div
ondblclick="umbracoEditMacro(this);"
umb_editmode="0"
umb_pagetabs="0"
umb_titlename="Just a little test form"
umb_refreshtoparent="0"
umb_textonsubmit="done!"
umb_macroalias="AutoFormPlusInput"
umb_showdescriptions="0"
umb_hidetabnames="0"
umb_tabname="boktips"
umb_documenttype="1159"
umb_showtitle="1"
umb_requiredtext="Required"
umb_submitbuttontext="DFGZDG"
umb_publishonsubmit="0"
umb_publishwithuserid="1"
ismacro="true"
onresizestart="return false;"
umbversionid="bce70430-10e9-4eb9-b2e5-2662b7b9b928"
umbpageid="1191"
title="This is rendered content from a macro"
contenteditable="false"
class="umbMacroHolder mceNonEditable">



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
neehouse
Posted: Wednesday, November 28, 2007 8:51:01 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
umbpageid is not the correct parameter...

the parameter you should be looking for is 'ChooseWhereToStore' or 'umb_choosewheretostore'

In the macro, the label reads, "Save or Edit Node location".

What is happening, the storage location is not being set, and as a default, the node is deleted after creation. This was put in place to allow for email only type forms.

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
kalpa
Posted: Wednesday, November 28, 2007 8:51:05 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
SORRY FOR ALL THE POSTINGS :blush:

I faced a "Website Restarting" Page every time I posted and therefore assumed it didn't work... Anyone with admin access and a "license to delete" :hmm:

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
kalpa
Posted: Wednesday, November 28, 2007 9:05:13 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 496
Location: Göteborg, Sweden
Casey Neehouse wrote:

the parameter you should be looking for is 'ChooseWhereToStore' or 'umb_choosewheretostore'

In the macro, the label reads, "Save or Edit Node location".


Yep, that one was somehow unchecked from the parameter settings tab in the developer >> macro folder

Thanks a lot!

// ;) Kalle


" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
neehouse
Posted: Wednesday, November 28, 2007 9:08:43 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
Kalle Wibeck wrote:

Yep, that one was somehow unchecked from the parameter settings tab in the developer >> macro folder

Thanks a lot!

// ;) Kalle


I will double check the package file to verify the setting is enabled....

Thanks
Casey

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.