Skip Menu |

This queue is for tickets about the CatalystX-ListFramework-Builder CPAN distribution.

Report information
The Basics
Id: 42302
Status: resolved
Priority: 0/
Queue: CatalystX-ListFramework-Builder

People
Owner: OLIVER [...] cpan.org
Requestors: RADEK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.38
Fixed in: (no value)



Subject: examples/demo/server.pl fails on tables without primary key
The demo application generates links for editing tables without primary keys, but when following such link it fails like this: Caught exception in DemoApp::Model::LFB::Metadata->process "Use of uninitialized value in string ne at /usr/share/perl5/vendor_perl/CatalystX/ListFramework/Builder/Model/Metadata.pm line 175." While it rarely makes sense to allow editing such tables, making them viewable read-only in the web interface might be handy.
On Sun Jan 11 10:20:20 2009, RADEK wrote: Show quoted text
> The demo application generates links for editing tables without > primary keys, but when following such link it fails > > While it rarely makes sense to allow editing such tables, making them > viewable read-only in the web interface might be handy.
Yes I suppose there is an assumption there will always be a primary key. I'm currently working on a refactoring of a lot of the plugin's core, so will make a note to try to support such tables. I'll leave this ticket open as a reminder. Many thanks for the feedback, it's appreciated, regards, oliver.
I'm closing this ticket because CatalystX::ListFramework::Builder has been deprecated for some time in favour of Catalyst::Plugin::AutoCRUD. -- regards, oliver.