Skip to content

Commit

Permalink
fix(VirtualInheritance): Certify virtual inheritance support
Browse files Browse the repository at this point in the history
Virtual Inheritance is supported with ColdBox 5.2+
  • Loading branch information
elpete authored May 7, 2019
1 parent 5957962 commit e105f18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/BaseEntity.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ component accessors="true" {
function isDirty() {
// TODO: could store hash of incoming attrs and compare hashes.
// that could get rid of `duplicate` in `assignOriginalAttributes`
return ! deepEqual( get_OriginalAttributes(), retrieveAttributesData() );
return ! deepEqual( variables._originalAttributes, retrieveAttributesData() );
}

function retrieveAttribute( name, defaultValue = "" ) {
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/app/models/User.cfc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
component extends="quick.models.BaseEntity" accessors="true" {
component quick {

property name="id";
property name="username";
Expand Down

0 comments on commit e105f18

Please sign in to comment.