This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AttendeeSchema = new Schema( | |
user_id: | |
type: Schema.Types.ObjectId | |
ref: 'User' | |
event_id: | |
type: Schema.Types.ObjectId | |
ref: 'Event' | |
like: | |
type: Boolean | |
default: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eventSchema = new Schema( | |
key: String | |
title: String | |
url: String | |
category: String | |
calcpa_id: String | |
organization: String | |
description: String | |
location: | |
name: String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
userSchema = new Schema( | |
key: String | |
preferred_email: String | |
email: String | |
access_code: String | |
local: | |
email: String | |
password: String | |
name: String | |
seeker_profile_filled_at: Date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | Unhandled rejection TypeError: Cannot read property 'toLowerCase' of undefined | |
backend_1 | at lookup (/src/controllers/events.js:28:22) | |
backend_1 | at findSkills (/src/controllers/events.js:36:7) | |
backend_1 | at async.parallel.count (/src/controllers/events.js:663:13) | |
backend_1 | at /install/node_modules/async/lib/async.js:713:13 | |
backend_1 | at async.forEachOf.async.eachOf (/install/node_modules/async/lib/async.js:233:13) | |
backend_1 | at _parallel (/install/node_modules/async/lib/async.js:712:9) | |
backend_1 | at Object.async.parallel (/install/node_modules/async/lib/async.js:726:9) | |
backend_1 | at eventMatch (/src/controllers/events.js:611:9) | |
backend_1 | at /src/controllers/events.js:789:7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | Unhandled rejection TypeError: Cannot read property 'toLowerCase' of undefined | |
backend_1 | at lookup (/src/controllers/events.js:28:22) | |
backend_1 | at findSkills (/src/controllers/events.js:36:7) | |
backend_1 | at async.parallel.count (/src/controllers/events.js:663:13) | |
backend_1 | at /install/node_modules/async/lib/async.js:713:13 | |
backend_1 | at async.forEachOf.async.eachOf (/install/node_modules/async/lib/async.js:233:13) | |
backend_1 | at _parallel (/install/node_modules/async/lib/async.js:712:9) | |
backend_1 | at Object.async.parallel (/install/node_modules/async/lib/async.js:726:9) | |
backend_1 | at eventMatch (/src/controllers/events.js:611:9) | |
backend_1 | at /src/controllers/events.js:789:7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | at Async._drainQueue (/install/node_modules/bluebird/js/release/async.js:129:16) | |
backend_1 | at Async._drainQueues (/install/node_modules/bluebird/js/release/async.js:139:10) | |
backend_1 | at Immediate.Async.drainQueues [as _onImmediate] (/install/node_modules/bluebird/js/release/async.js:16:14) | |
backend_1 | at processImmediate [as _immediateCallback] (timers.js:367:17) | |
backend_1 | | |
backend_1 | Unhandled rejection ReferenceError: moment is not defined | |
backend_1 | at /src/controllers/events.js:975:28 | |
backend_1 | at tryCatcher (/install/node_modules/bluebird/js/release/util.js:11:23) | |
backend_1 | at Promise._settlePromiseFromHandler (/install/node_modules/bluebird/js/release/promise.js:489:31) | |
backend_1 | at Promise._settlePromise (/install/node_modules/bluebird/js/release/promise.js:546:18) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | TypeError: undefined is not a function | |
backend_1 | at /src/controllers/events.js:857:271 | |
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5) | |
backend_1 | at next (/install/node_modules/express/lib/router/route.js:131:13) | |
backend_1 | at Route.dispatch (/install/node_modules/express/lib/router/route.js:112:3) | |
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5) | |
backend_1 | at /install/node_modules/express/lib/router/index.js:277:22 | |
backend_1 | at param (/install/node_modules/express/lib/router/index.js:349:14) | |
backend_1 | at param (/install/node_modules/express/lib/router/index.js:365:14) | |
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:410:3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | Unhandled rejection Error | |
backend_1 | at MongooseError.ValidationError (/install/node_modules/mongoose/lib/error/validation.js:22:16) | |
backend_1 | at model.Document.invalidate (/install/node_modules/mongoose/lib/document.js:1256:32) | |
backend_1 | at model.Document.set (/install/node_modules/mongoose/lib/document.js:621:10) | |
backend_1 | at model.Document.set (/install/node_modules/mongoose/lib/document.js:502:18) | |
backend_1 | at model.Document (/install/node_modules/mongoose/lib/document.js:62:10) | |
backend_1 | at model.Model (/install/node_modules/mongoose/lib/model.js:43:12) | |
backend_1 | at new model (/install/node_modules/mongoose/lib/model.js:2808:11) | |
backend_1 | at /install/node_modules/mongoose/lib/model.js:1622:10 | |
backend_1 | at /install/node_modules/mongoose/node_modules/async/lib/async.js:570:21 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | message: 'Event validation failed', | |
backend_1 | name: 'ValidationError', | |
backend_1 | errors: | |
backend_1 | { nonmemberprice: | |
backend_1 | { [CastError: Cast to Number failed for value "NaN" at path "nonmemberprice"] | |
backend_1 | stack: 'Error\n at MongooseError.CastError (/install/node_modules/mongoose/lib/error/cast.js:18:16)\n at model.Document.set (/install/node_modules/mongoose/lib/document.js:622:7)\n at model.Document.set (/install/node_modules/mongoose/lib/document.js:502:18)\n at model.Document (/install/node_modules/mongoose/lib/document.js:62:10)\n at model.Model (/install/node_modules/mongoose/lib/model.js:43:12)\n at new model (/install/node_modules/mongoose/lib/model.js:2808:11)\n at /install/node_modules/mongoose/lib/model.js:1622:10\n at /install/node_modules/mongoose/node_modules/async/lib/async.js:570:21\n at /install/node_modules/mongoose/node_modules/async/lib/async.js:249:17\n at /install/node_modules/mongoose/node_modules/async/lib/async.js:125:13\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | objectives: [ '<p>Upon completion of this course you will be able to identify:</p>\n<ul>\n <li>special purpose frameworks, as well as GAAP frameworks;</li>\n <li>the primary differences between the frameworks;</li>\n <li>the situations in which use of each framework might be useful;</li>\n <li>the risks to a company and its independent accountants associated with each framework; and</li>\n <li>the ways that framework selection impacts financial statements, including disclosures, and impacts compilations and reviews.</li>\n</ul>' ], | |
backend_1 | curriculum: | |
backend_1 | [ ' Accounting and Financial Statements', | |
backend_1 | ' Auditing', | |
backend_1 | ' Business and Industry', | |
backend_1 | ' Finance', | |
backend_1 | ' Financial Management and Controllership', | |
backend_1 | ' Financial Leadership Forum' ] } | |
backend_1 | TypeError: string is not a function | |
backend_1 | at Object.<anonymous> (/src/models/attendee.coffee:25:30) |