Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Refactor #165

Merged
merged 8 commits into from Aug 24, 2016
Merged

Validation Refactor #165

merged 8 commits into from Aug 24, 2016

Conversation

splitbrain
Copy link
Member

As commented at #147 (comment) this refactors the Validation mechanism, to avoid reinstantiating the access table classes.

A Validator is now returned by the AccessTable. It has it's own save
method. The entry.php was split up in entry, edit and revert to separate
the different concerns. Validation is only done in entry and the thanks
to the new Validator mechanism, the once loaded access table is reused
in saving.

This will break all kind of stuff. Fixing that is for the upcoming
commits
this is needed because the object may be reused during testing
This just renames the parameter to make this more clear
* lookups:
  test translation feature
  implement rendering via sub type in Dropdown
  fix displayValue for looked up type, more tests
  fixed constructor signature
  first test for new Dropdown features
  adjusted tests for renamed aliases
  Add Lookup Support to Dropdown
  column aliases need to differ from real column names
  use display value as default renderer
  introduces getDisplayValue
@micgro42
Copy link
Contributor

looks good

@splitbrain splitbrain merged commit 6e70451 into lookups Aug 24, 2016
@micgro42 micgro42 deleted the validationrefactor branch September 23, 2016 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants