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

TOPIC:

fieldname = tags 03 Oct 2013 13:48 #11295

Having a fieldname called "tags" causes a weird behaviour.
On save it's added a $data with consequent MySQL error because there is no "newTags" columns in my component, but just "tags".

I found out this field "newTags" is added through the function save($data) on line 1031 located in libraries\legacy\model\admin.php called on my jcook-component with the item model save function.

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

fieldname = tags 07 Oct 2013 12:30 #11310

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Strange... it is working for me.
Wich Joomla version ?

The new approach of UCM is a mess. I understand the needs, but at the end it creates a big mess.
Let's talk about it in a new topic...
Coding is now a piece of cake

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

fieldname = tags 07 Oct 2013 23:16 #11316

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
In facts it is raising issue when field is not empty.

This is a very bad integration of UCM on not UCM table.
Seems really invasive this UCM feature...

Solution : do not use the name 'tags'
Or => create 'newTags' field in database.
Coding is now a piece of cake

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

fieldname = tags 08 Oct 2013 07:52 #11324

change the fieldname is what I did as workaround.

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

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

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started