Crash and purge



  • Err...actually the other way around. When I try to purge a post, this happens in the logs:

    error: [4573/20353]  TypeError: realDismissFlag is not a function
        at Object.postPurge [as method] (/usr/src/app/node_modules/nodebb-plugin-tdwtf-customizations/index.js:502:3)
        at /usr/src/app/src/plugins/hooks.js:121:12
        at /usr/src/app/node_modules/async/dist/async.js:2488:9
        at replenish (/usr/src/app/node_modules/async/dist/async.js:946:17)
        at /usr/src/app/node_modules/async/dist/async.js:950:9
        at eachOfLimit (/usr/src/app/node_modules/async/dist/async.js:975:24)
        at /usr/src/app/node_modules/async/dist/async.js:980:16
        at Object.reduce (/usr/src/app/node_modules/async/dist/async.js:2487:5)
        at fireFilterHook (/usr/src/app/src/plugins/hooks.js:113:9)
        at Object.Plugins.fireHook (/usr/src/app/src/plugins/hooks.js:94:4)
        at /usr/src/app/src/posts/delete.js:126:13
        at nextTask (/usr/src/app/node_modules/async/dist/async.js:5273:14)
        at next (/usr/src/app/node_modules/async/dist/async.js:5280:9)
        at /usr/src/app/node_modules/async/dist/async.js:906:16
        at /usr/src/app/src/database/mongo/sorted.js:308:4
        at handleCallback (/usr/src/app/node_modules/mongodb/lib/utils.js:120:56)
        at /usr/src/app/node_modules/mongodb/lib/collection.js:1417:5
        at handleCallback (/usr/src/app/node_modules/mongodb/lib/utils.js:120:56)
        at /usr/src/app/node_modules/mongodb/lib/cursor.js:682:5
        at handleCallback (/usr/src/app/node_modules/mongodb-core/lib/cursor.js:171:5)
        at nextFunction (/usr/src/app/node_modules/mongodb-core/lib/cursor.js:682:5)
        at /usr/src/app/node_modules/mongodb-core/lib/cursor.js:593:7
        at queryCallback (/usr/src/app/node_modules/mongodb-core/lib/cursor.js:232:18)
        at /usr/src/app/node_modules/mongodb-core/lib/connection/pool.js:469:18
        at _combinedTickCallback (internal/process/next_tick.js:73:7)
        at process._tickCallback (internal/process/next_tick.js:104:9)
    


  • @boomzilla said in Crash and purge:

    realDismissFlag

    The jokes write themselves.


  • :belt_onion:

    @boomzilla #fakeDismissFlag


  • :belt_onion:

    @Maciejasjmj said in Crash and purge:

    @boomzilla said in Crash and purge:

    realDismissFlag

    The jokes write themselves.

    Mongo



  • @Maciejasjmj said in Crash and purge:

    The jokes write themselves.

    See tags.



  • realDismissFlag is in @boomzilla's repository.

    I guess we can remove the whole thing about flags not being able to be dismissed since that's no longer a feature of the flagging system.



Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.