-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
Description
Due to the way Articles is structured gitify fails to extract their content, with the following error:
(ERROR @ /.../gitify) Instantiated a derived class modDocument that is not a subclass of the requested class ArticlesContainer
PHP Fatal error: Call to undefined method modDocument_mysql::getArchivistCall() in /.../core/components/articles/model/articles/article.class.php on line 58
A quick solution is to exclude them in Gitify/src/CommandExtractCommand.php around line 264
· if (method_exists($object, 'getContent')
· && !($object instanceof \modStaticResource)
· && !($object instanceof \modDashboardWidget)
+ && !($object instanceof \Article)
· ) {
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.