#8401~#8414 

08-13-12:
BUGFIX+BADHACK - In the action "add permission to template" the "MODx.combo.Permission" Object, overflows and crashes the application js on the client side,

I have been researching and I found the problem, in the rule xPDO, are referred SQL DISTINCT only the fields with index equal to "pk" (primary key)

In the case of the table "modx_access_permissions" the index "pk", correctly  is assigned to the field "id" 
but the correct distinction of unique field can only be obtained in the field "name"

I posted a "commit" in my git with the method to FIX the problem,
but in my opinion should consider an alternative solution, to expand the rules xPDO for "sql DISTINCT"


08-16-12:
BUGFIX-#8414 user: ya ma
~Not working preview button after the saving new resource.~

The arrangement adds temporarily a ghost record in the "aliasMap" 
as long as the alias of the resource is not listed, 
when the system FURL enabled, and when there is a valid uri.

Thus allowing that the getPreviewUrl method returns a "previewUrl" 
in the first save of the resources.

Regards.