Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Edit generates an empty record 21 Mar 2017 14:33 #15053

  • Ferm
  • Ferm's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 6
If I create the simplest possible table and add a column in the list view to edit records, this works fine in Cook 3.0.10. In Cook 3.1.4, the id of the record to edit is not passed on. The effect of this is that a new record is created instead.

The HMTL produced in the list view seems pretty identical and the ids for each row are there. I haven't had time to run it in the debugger to see where it loses the id number. If I generate the component with version 3.1.4, when I get to the display item function, the variable $_REQUEST [cid] has the value "array" instead of the id number (s) or the record selected.

Please Log in or Create an account to join the conversation.

Edit generates an empty record 30 Mar 2017 15:43 #15068

I noticed the same behaver, the URL does not contain the ID needed, but instead has /Array at the end, If I type the URL manually with the ID in it it works fine.
Koen

Please Log in or Create an account to join the conversation.

Edit generates an empty record 30 Mar 2017 16:54 #15070

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
+1
Same thing for me with my actual project in Frontend.
The Fly that display the Item is empty

Please Log in or Create an account to join the conversation.

Edit generates an empty record 30 Mar 2017 17:13 #15071

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Gonna fix that soon
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Edit generates an empty record 31 Mar 2017 10:57 #15073

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.
It was due to the recent router feature.
Coding is now a piece of cake
The following user(s) said Thank You: koenvdz

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.297 seconds

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started