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

TOPIC:

[FIXED] Joomla user data empty with foreign table relation 05 Oct 2012 21:18 #4285

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
Hi

I'm not sure if this is a bug or not, but I noticed that when I try to pull Joomla username to a view through a foreign key reference, that reference joomla user id, then the combo that would list the user is empty.

Let me try to explain the setup.

Table 1: User data

Reference to Joomla user data

Table 2: Time sheets

Foreign key to Table 1: User data

My Table 2 Page:

I pull username through User data -> User->Username

This renders an empty combo box.

If I design Table 2 to reference Joomla user directly then it works fine, but then I don't have the reference to Table 1 with my additional user info which is not good in my case.

Is it a bug?

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

Re: Joomla user data empty with foreign table relation 16 Oct 2012 15:24 #4577

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Is it in V2.0, or 1.5 ?

I cannot see this one. Many post have related to this. But seems fixed now :
www.j-cook.pro/forum/18-closed-tickets/4...-users-in-combo#4140

Another issue again ?
Coding is now a piece of cake

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

Re: Joomla user data empty with foreign table relation 16 Oct 2012 15:26 #4579

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
This was in 2.0 beta
I don't this issue is fixed currently - at least not in my particular case.

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

Re: Joomla user data empty with foreign table relation 16 Oct 2012 15:28 #4580

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
I got that one the other day in V2 and cured it by removing the FK to users, refreshed page, added again. Worked fine in sandbox and local thereafter!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

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

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

Just wanted to congratulate you on the J-Cook website / web development tool. In a couple of visits I've had a play around with Cook and have to say I think it is fantastic.  I've played with a number of component builders in the past and yours is certainly looking like the best so far. I'd also like to help you spread the word - I'm really surprised more people aren't excited about this tool. Good luck with the project.
Dean

Get Started