Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Reuse functionality do not work

[FIXED] Reuse functionality do not work 13 Sep 2012 01:22 #3563

  • tr4ding
  • tr4ding's Avatar
  • Offline
  • Senior Member
  • Posts: 42
  • Karma: 1
Hi folks!! Really really nice this beta :)

Here is the problem.....

In my layout form, my original setting allowed me to pass to a second form after saving data. Now, after saving data I'm redirected to the main data collection instead of moving forward to the second form.

You can verify on your own in my sandbox.

Any help? thanks
Last Edit: 14 Sep 2012 15:06 by admin.
The administrator has disabled public write access.

Reuse functionality do not work 14 Sep 2012 12:39 #3621

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Wich PTL ? (Project / Table / Layout)
Coding is now a piece of cake
The administrator has disabled public write access.

Reuse functionality do not work 14 Sep 2012 12:55 #3623

  • tr4ding
  • tr4ding's Avatar
  • Offline
  • Senior Member
  • Posts: 42
  • Karma: 1
Project: Rizemap v2
Table: POI
Layout: Aggiungi un POI (both front-end and back-end)

TASK: SAVE button with redirection to another layout (table: poi_profile; layout: associa un profilo ad un POI)
The administrator has disabled public write access.

Reuse functionality do not work 14 Sep 2012 13:42 #3626

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I think we already talked about that.
poi_profile is not the same table, so the cid is flushed (security)

Two possibilities :

If poi_profile is 1:1 (Extension table)
- You have a mistake. id_poi shouldn't exist. Use the default id to identifiate it
- all you have to do is : reuse : cid



If poi_profile contain a FK to Poi (1:N) :
TODO :
reuse : filter_id_poi

So when a 'Poi' is saved, the id of the current item is used to prefill the form value for the FK to Poi.

Right ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Reuse functionality do not work 14 Sep 2012 14:06 #3631

  • tr4ding
  • tr4ding's Avatar
  • Offline
  • Senior Member
  • Posts: 42
  • Karma: 1
No.....there was a misunderstanding between us :)

The problem is that, when I click on SAVE button I should be redirected to another form....instead I'm redirected into the collection view of POI table :(

Before the introduction of the BETA, it worked.....

Reuse functionality is a secondary "problem" for me atm......
The administrator has disabled public write access.

Re: Reuse functionality do not work 14 Sep 2012 17:51 #3644

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.063 seconds

Get Started