Hi Adam,
Did you try putting result-set in the variable rather than directly putting
it into stash?
my $user = $c-model('DB::Tech')-find({id = $userid});
$user-update({ id = $username,
firstname = $fname,
lastname = $lname,
I managed to find my error that was causing my problem:
DBIx::Class::DynamicDefault::update(): Operation requires a primary key
to be declared on 'TickIt::Schema::Result::Tech' via set_primary_key at
/home/vendion/Projects/TickIt/script/../lib/TickIt/Controller/Admin.pm
line 114
Does it make a
Remember that Catalyst uses DBIx::Class as an ORM, so it must be able to
uniquely identified each row with a Primary Key.
If you're going to update the primary key (which is not usually a good idea),
make sure that you have 'ON UPDATE CASCADE' on referencing child tables,
otherwise the