owncloud-archive / news

:newspaper: News app for ownCloud
GNU Affero General Public License v3.0
290 stars 106 forks source link

Add missing Admin.js to Makefile #959

Closed twouters closed 8 years ago

twouters commented 8 years ago

The Admin.js file is required to access admin settings. Accessing the admin settings results in an Internal Server Error if the file doesn't exist.

Apr  1 12:50:30 cloud ownCloud[6186]: {news} Could not find resource file "/apps/news/js/admin/Admin.js"
Apr  1 12:50:33 cloud ownCloud[6186]: {index} Exception: {"Exception":"RuntimeException","Message":"The source file
\"\/var\/www\/owncloud\/apps\/news\/js\/admin\/Admin.js\" does not exist.","Code":0,"Trace":"#0 \/var\/www\/owncloud
\/3rdparty\/kriswallsmith\/assetic\/src\/Assetic\/Asset\/BaseAsset.php(103): Assetic\\Asset\\FileAsset->load()\n#1 \
/var\/www\/owncloud\/3rdparty\/kriswallsmith\/assetic\/src\/Assetic\/Asset\/AssetCollection.php(151): Assetic\\Asset
\\BaseAsset->dump(NULL)\n#2 \/var\/www\/owncloud\/3rdparty\/kriswallsmith\/assetic\/src\/Assetic\/AssetWriter.php(68
): Assetic\\Asset\\AssetCollection->dump()\n#3 \/var\/www\/owncloud\/lib\/private\/templatelayout.php(226): Assetic\
\AssetWriter->writeAsset(Object(Assetic\\Asset\\AssetCollection))\n#4 \/var\/www\/owncloud\/lib\/private\/templatela
yout.php(142): OC\\TemplateLayout->generateAssets()\n#5 \/var\/www\/owncloud\/lib\/private\/template.php(225): OC\\T
emplateLayout->__construct('user', 'settings')\n#6 \/var\/www\/owncloud\/lib\/private\/template\/base.php(122): OC_T
emplate->fetchPage()\n#7 \/var\/www\/owncloud\/settings\/admin.php(252): OC\\Template\\Base->printPage()\n#8 \/var\/
www\/owncloud\/lib\/private\/route\/route.php(154) : runtime-created function(1): require_once('\/var\/www\/ownclo..
.')\n#9 [internal function]: __lambda_func(Array)\n#10 \/var\/www\/owncloud\/lib\/private\/route\/router.php(273): c
all_user_func('\\x00lambda_719', Array)\n#11 \/var\/www\/owncloud\/lib\/base.php(873): OC\\Route\\Router->match('\/s
ettings\/admin')\n#12 \/var\/www\/owncloud\/index.php(39): OC::handleRequest()\n#13 {main}","File":"\/var\/www\/ownc
loud\/3rdparty\/kriswallsmith\/assetic\/src\/Assetic\/Asset\/FileAsset.php","Line":62}
mention-bot commented 8 years ago

By analyzing the blame information on this pull request, we identified @BernhardPosselt to be a potential reviewer

BernhardPosselt commented 8 years ago

Uploaded the fixed archives, can you check?