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

TOPIC:

Editing Column Names 10 May 2013 10:19 #7158

Hi, I am trying to edit my component, I have changed the default table for the component to another table with slightly different columns, I have manged to rename all my view/models but I am still getting this error
Componentitem: :publish failed - Unknown column 'published' in 'field list'
Is there another place to edit the table details apart from models/views/table folders?

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

Re: Editing Column Names 10 May 2013 13:56 #7159

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Well, this is one of the main problem with the current migration. Cook was letting you the choice to name special fields as your please, but I seems not to be a good technic, so it is now restricted.


The publishing field must always be called 'published'. Check where is your error...

Please edit those fields, regenerate your code with 2.5.

You can also simply search/replace in your source, and must also check in SQL tables.

Actually, you should generate with 2.5 new version, and start to migrate. I will annouce all this soon.
The migration is an ultra important time to dedicate for each component you have already created or are working on.

So, during this migration, check well all your published fields are named 'published'. If not, the wizard will not work. Since 2.5, it is not anymore raising fatal.
Coding is now a piece of cake

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

Re: Editing Column Names 10 May 2013 14:31 #7160

Thanks, this now makes sense, I also have noticed by default the id column is added automatically, if I want to use another field other than Id will I notice problems? I am using version 2.0

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

Last edit: by paulkish.
  • Page:
  • 1
Time to create page: 0.134 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