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

TOPIC:

Edit generates an empty record 30 Mar 2017 17:19 #15072

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
And have right now an SQL error when saving a new Item (3.1.4)
Works fine with 3.0.10

An error has occurred.
0 Unknown column '_conference_id_.published' in 'field list' SQL=SELECT a.id,a.*,_conference_id_.published AS `_conference_id_published`,_intervenant_id_.published AS `_intervenant_id_published` FROM #__demo13672_sessions AS a WHERE `conference_id` = 29 AND `intervenant_id` NOT IN (16) ORDER BY a.conference_id ASC

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

Edit generates an empty record 31 Mar 2017 12:00 #15074

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.
This was because the session table has no layout. But it was my fault because it should be permitted of course.
The builder was missing the FK declaration in the constructor.

For you the only change is in the constructor of the 'sessions' model
models/sessions.php (front / back)
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 12:32 #15075

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Right OK,
this point is clear for me.

thkx

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

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

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started