AnotherCodeArtist / medien-transparenz.at

Apache License 2.0
3 stars 2 forks source link

Run/Build failure (mean.io & Angular 1.6) #144

Closed relative-progressio closed 7 years ago

relative-progressio commented 7 years ago

Running MTA from scratch (after fresh npm install) fails, since the newest AngularJS version (required by mean.io’sbower.json) does not include the $http-callback methods: success()/error()as pointed out in the changelog. The methods have been deprecated and now removed, as the documentation shows.

A quick search for the success() method in the transparency-package showed that the method is used in the checkLoggedIn function. This is something to refactor.

More importantly, the mean.io package (at least in the used version) seams not prepared for that breaking change. For example, the mean-users page uses success(). (see: this issue) Possibly more mean-packages are affected.

It may be an option to downgrade the (angular-related?)-packages in the mean.io's bower.json, as long as this issue is not resolved.

AnotherCodeArtist commented 7 years ago

Downgrading to working version seems to be the best Option.