Comments (3)
This also affects Image content type
from plone.app.contenttypes.
By default the types image and file have the bahavior 'plone.app.dexterity.behaviors.filename.INameFromFileName' that already takes care of this issue. Can you make sure that the subscriber is only called if said behavior is deactivated allthough I don't know why someone whould want to deactivate it.
Why do we need a empty unicode-string as a descriptions?
from plone.app.contenttypes.
@pbauer Thanks for reminding me of this behavior. I will see why it is not being applied properly for File and Image,
About the description, with the #53 fix we found a different issue: Title and description fields for Image and File are not from the basic metadata behavior but defined on the content type schema and when they are left empty instead of returning an empty unicode-string (the default behavior using basic metadata) we receive a None value. This breaks the SearchableText indexer.
I've tried to add <missing_value></missing_value> to the schema with no luck. It still returns None instead of an empty unicode.
from plone.app.contenttypes.
Related Issues (20)
- Remove Products.contentmigration dependency HOT 1
- Remove AT & Migration parts HOT 1
- Simplify view registration HOT 1
- Typo in test_content_profile
- Add removed BBB views in the upgrade guide HOT 2
- a real newsitem_view?
- Link redirect is wrong when the site is not on the host root (eg /thesite) or when using VHM with the _vh_ virtualpath HOT 1
- Wrong url to author in tabular listing HOT 1
- Traceback on Summary view when thumbs are suppressed HOT 1
- Listing events in a collection will raise AttributeError: location
- Wrong file size displayed in file.pt HOT 1
- tabular listing column titles doesn't get translated completely
- 3.0.0 alpha and beta releases omitted recent stable releases HOT 4
- Create "News Item" causes error (object has no attribute 'text') HOT 5
- Add lazy loading of images on listing HOT 3
- Redundant plone.app.event HOT 2
- List field with `default=[]` HOT 2
- Broken internal links HOT 1
- Factor out robotframework test dependency HOT 4
- Folder listing template breaks when `IEvent` types do not have enabled `plone.eventlocation` behavior
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plone.app.contenttypes.