Dylan Jay

Results 249 comments of Dylan Jay

> But where would this search button _be_? The only places AutoWidget would be **able** to put it would be either inside the add-on (in a menu), or as an...

@daveftw84 I used it with IAGL with no problems. can you retest with the latest build?

The message is passed as a cookie but this might not be the preferred method. Either Volto needs to read the cookies or the restapi should convert the cookies to...

> It can be confusing when a default is calculated every time the field is read. For example if there's a field with a defaultFactory that returns the current userid,...

> An unrelated question: It looks like the existing RecordsProxy already falls back to the field's `missing_value`. Is there a reason it doesn't work to use that when you add...

> @djay Hmm, no, it's not that simple. It'll use the `missing_value` when reading, but throw an exception when trying to write the field if it hasn't been registered yet:...

@davisagli my test did delete the record so does show that the value can be set again in that case. I've changed it to use the missing value and the...

@davisagli I've put in the storage adapter and that works. I've also put in a test to show it works. But the validation does actually read the whole file into...

I also suspect that some of the other storages like FileUploadStorage might also be be already buffered into a local file at least some of the time. In that case,...

@davisagli I had a go at changing the validation to avoid reading in the whole file in https://github.com/plone/plone.namedfile/pull/155