Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Joomla user data empty with foreign table relation

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

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
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?
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
The administrator has disabled public write access.

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

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
This was in 2.0 beta
I don't this issue is fixed currently - at least not in my particular case.
The administrator has disabled public write access.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
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!!!
The administrator has disabled public write access.
Time to create page: 0.104 seconds

Get Started