So, I have updated the schema to include a has_many to has_many
relationship and written a test for it. I have logged in and checked out
the code, modified and updated it. When I try to commit it, it asks
again for my login. Is this because i don't have rights to modify the
code? Is there someone I am supposed to send my code to to be verified?
Hi,
Yes - that's a good example.
You'll need to checkout the entire distribution with
svn co http://html-formfu.googlecode.com/svn/trunk/HTML-FormFu-Model-DBIC
The test schema is described in t/lib/MySchema/
If there's no suitable repeatable->repeatable relationships - if you
create any new tables, then as well as updating the schema, you'll
also need to update new_db() in t/lib/DBICTestLib.pm which is called
by each test file to create the sqlite database.
Rather than `make test`, I prefer using `prove` to run the test files,
as it lets you run an individual test file.
You'll need to install Test-Harness to get `prove`.
prove -l t/update/has_many_repeatable.t
To create a patch file, you'll need to add any new files with `svn add filename`
and then create the patch file with `svn diff > patchfile`
Good luck!
Carl
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu