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.398 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started