Detail Links When Viewing Recordings On List Tab Disappeared

A place for users and developers of the Xataface to discuss and receive support.

Detail Links When Viewing Recordings On List Tab Disappeared

Postby cyberws » Sun Aug 14, 2011 11:19 am

Hello Community,

I finally upgraded from a lower version of Xataface to the latest build (1.3 RC 6). In one of my database projects when viewing a list of entries in a table all fields have become unlinked from the details page. This means I can no longer click on a say first name for record number 12 and have it load the details page. What the heck happened?

I have searched the documents and forum and don't see what is causing this issue. I have tried noLinkFromListView set to 0, custom building the link in the table.php class function, and several other items. I am at a loss and hoping someone can help me out with this strange behavior. It is happening on ALL tables in this project. All the links have just disappeared when viewing a list of records.

FYI to shannah> If you visit http://xataface.com/documentation and click on either of the links in the "Reference" section you get a 404 error.

Thanks!

Respectfully,

Jeremy
cyberws
 
Posts: 19
Joined: Wed Jul 01, 2009 10:32 am

Re: Detail Links When Viewing Recordings On List Tab Disappeared

Postby shannah » Mon Aug 15, 2011 11:56 am

Ensure that the user that you are logged in as is granted the "link" permission. This permission didn't exist in some older versions (<1.2 i think). Likely you've defined your own roles explicitly. You just need to add the 'link' permission to these roles.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Detail Links When Viewing Recordings On List Tab Disappeared

Postby cyberws » Mon Aug 15, 2011 12:13 pm

Thanks for the reply. We haven't been using any login/auth data. Other database projects still work that don't use that any auth settings either. We have things either on Internal databases or locked by static IPs, which works for our needs.

Respectfully,

Jeremy
cyberws
 
Posts: 19
Joined: Wed Jul 01, 2009 10:32 am

Re: Detail Links When Viewing Recordings On List Tab Disappeared

Postby shannah » Mon Aug 15, 2011 12:24 pm

So you haven't implemented any getPermissions() or getRoles() methods..

That is very strange then. No reason why you should have any limits. Perhaps try deleting all of the files in the templates_c directory in case some cached files are stale.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Detail Links When Viewing Recordings On List Tab Disappeared

Postby cyberws » Mon Aug 15, 2011 12:31 pm

Correct I have never used the getPermissions() or getRoles() methods for any Xataface projects. I was baffled why all projects work but one. I have tried clearing the templates_c folder, but no joy.

Edited: I restarted Apache and it worked finally. I am not sure why this one specific project (newer) wouldn't work why other ones did, however I guess something was cached.

Thanks!

Respectfully,

Jeremy
cyberws
 
Posts: 19
Joined: Wed Jul 01, 2009 10:32 am

Re: Detail Links When Viewing Recordings On List Tab Disappeared

Postby shannah » Mon Aug 15, 2011 12:36 pm

It is possible that the set of available permissions was cached using e.g. APC and restarting the web server refreshed the APC cache. Are you using APC?

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Detail Links When Viewing Recordings On List Tab Disappeared

Postby cyberws » Mon Aug 15, 2011 12:40 pm

Yes APC is used on all our web servers. I would have guessed that if the others stopped working too, but one won't work while dozens of others continued to worked fine. Strange.

Respectfully,

Jeremy
cyberws
 
Posts: 19
Joined: Wed Jul 01, 2009 10:32 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 22 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved