Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] camelCase not working in fields

[FIXED] camelCase not working in fields 06 Feb 2017 21:05 #14979

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Hello everybody,
It has been such a long time. Cook has been so helpfull but i was working on other project styles the last months.
Jocelyn, hope you're doing ok, i miss our long mails about the world ;-)
Now I'm back on cook, i'm designing a new project and have trouble with cacading combobox.

Project : Kustom
Table : Projects
Layout = All :-)

Without any modifs, even in sandbox, i got a sql error about some
Unknown column '_projectartisan_.screenname' in 'field list' SQL=SELECT a.id,a.creation_date,a.hits,a.projectartisan,_projectartisan_.screenname AS `_projectartisan_screenname`,a.projectbanner,a.projecttitle FROM #__demo13748_projects AS a LIMIT 20

Has the builder changed that much that i can"t do it the way i used to ?

Thanks,
V.
The administrator has disabled public write access.

[FIXED] camelCase not working in fields 06 Feb 2017 21:10 #14980

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
I should add that i can create one new element (one new project), but it is the collection view that shows error.
But the "save" function works because it shows when i go to my phpmyadmin
The administrator has disabled public write access.

[FIXED] camelCase not working in fields 06 Feb 2017 22:17 #14983

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Hey ! You are back ! Long time...
Happy to hear from you

I see the problem. You are using capital letters in the fields.
This is a really good catch because I totally forgot to test this possibility, and the new ORM system has apparently a little problem.
I might not be a big deal to fix. I am already looking after it.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: VeCrea

[FIXED] camelCase not working in fields 06 Feb 2017 22:33 #14984

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
I remember now that in previous builder versions, it was impossible to have capital letters. Why you hate capital so much ? (j'adore le double sens de cette phrase ;-)
The administrator has disabled public write access.

[FIXED] camelCase not working in fields 06 Feb 2017 23:27 #14985

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
It was just a limitation, and also for conventions because nobody is using them in reality. You are the first to ask for it.
And also to be clear between the field label and the field name. Lot of beginners mismatch the concept.
I love camel case as you are using in you fields. It is very clear and I'd like to use them as well fo my projects. Afterall why not ?

Pour la private joke, ici il n'y a pas de chameaux ici non plus
Coding is now a piece of cake
The administrator has disabled public write access.

[FIXED] camelCase not working in fields 06 Feb 2017 23:37 #14986

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.

good luck with your camels
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.071 seconds

Get Started