Mo

All other tests run OK and I have similar tests running on different modules, so not really sure what is going on or if I missed something...

Mo

Basically my test fails on Postgresql because the field FirstName is not available one of my test objects 😕

Mo

Hey all, anyone got any ideas about this issue: https://forum.silverstripe.org/t/postgresql-unit-test-fails-unknown-field/1617

Show 1 attachment(s)
Silverstripe Forum  
Postgresql unit test fails "unknown field"

SilverStripe: 4.* Hi All, I have been working on a module and trying to get it running in Travis. The builds are all running OK, except for Postgresql. It looks like the custom TestOnly DataObject I am using is not being setup correctly. Does anyone have any idea why though? The most recent test results are: Travis CI - Test and Deploy Your Code with Confidence The error I am getting is: SilverStripe\ORM\Connect\DatabaseException: Couldn't run query: SELECT DISTINCT "SlightlyBetterBulkLoade...

Hide attachment content
Mo

It's a shame silversrtipe/asset-admin doesn't seem to expose InsertMediaModal in a way that I can use it outside of the asset-admin module 😞

Mo

Apparently if you don't provide handlers for inserting files to InsertMediaModal then it falls back to previewing a folder (which is exactly what I want)

Mo

OK, so creating the component inside silverstripe/asset-admin is working great

Mo

not really ideal, but it at least seems to work

Mo

I have just caved and forked the asset admin module 😱

Mo

I don't understand, looking at asset-admin/client/src/bundles/bundle.js InsertMediaModal should be exposed...