Public bug reported:
When using an Aiki Form as an edit like (#(form:edit:((id)))#), the html
page generated contains an edit type select box that has 2 options:
"save" and "insert_new". The user filling out the form can select 1 or
the other to edit the actual record or to submit the edit as a new
record (retaining the previous entry in the db & assigning the edit a
new id).
This 'Edit Type" option is configurable in the Aiki Admin Panel.
If you create a new field of type "Editing Type" and assign it a value
of "save", then the generated HTML form removes the selectable Edit Type
option & automatically saves the record ontop of the existing one.
Consequently, adding value "insert_new" should do the same thing, only
inserting a new row, as opposed to saving on top of an existing record.
The problem is that it doesn't. It works perfectly fine if the user
selects this option from the form, but it really needs to be
configurable on the back end, so this step can be removed from the form
filling process.
I've tried adding variations of "insert_new" like "insert", "new",
"insert new", "add", and nothing none have proven successful.
This is on aiki framework version: 0.8.19.843
** Affects: aikiframework
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/834339
Title:
Aiki Forms 'Edit Type: insert_new' doesn't work
Status in Aiki Framework:
New
Bug description:
When using an Aiki Form as an edit like (#(form:edit:((id)))#), the
html page generated contains an edit type select box that has 2
options: "save" and "insert_new". The user filling out the form can
select 1 or the other to edit the actual record or to submit the edit
as a new record (retaining the previous entry in the db & assigning
the edit a new id).
This 'Edit Type" option is configurable in the Aiki Admin Panel.
If you create a new field of type "Editing Type" and assign it a value
of "save", then the generated HTML form removes the selectable Edit
Type option & automatically saves the record ontop of the existing
one.
Consequently, adding value "insert_new" should do the same thing, only
inserting a new row, as opposed to saving on top of an existing
record. The problem is that it doesn't. It works perfectly fine if
the user selects this option from the form, but it really needs to be
configurable on the back end, so this step can be removed from the
form filling process.
I've tried adding variations of "insert_new" like "insert", "new",
"insert new", "add", and nothing none have proven successful.
This is on aiki framework version: 0.8.19.843
To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/834339/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help : https://help.launchpad.net/ListHelp