Ticket #45 (new defect)

Opened 3 months ago

Last modified 3 months ago

Use callables in form fields

Reported by: ctrochalakis Owned by: Dimitris Glezos
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

We need to replace get_repos, get_branches etc, methods from form attributes. We should use instead callables (function pointers) so the results are created at request time.

Currently these values are calculated once, on server start.

Change History

Changed 3 months ago by ctrochalakis

Also .OneOf?() validator (calculated once) used with branch fields should be replaced with a BranchValidor?() just like we do with modules (ValidModule?())

Note: See TracTickets for help on using tickets.