Ticket #93 (closed Defect: fixed)

Opened 9 years ago

Last modified 9 years ago

File Browser Error on "edit"

Reported by: JuergeN Owned by: jri
Priority: Major Milestone:
Component: DeepaMehta Standard Distribution Version: 4.0.3
Keywords: Cc:
Complexity: 3 Area:
Module:

Description

The filebrowser seems to work fine now. But in the content panel, it shows an "edit" button for the file. If I press that button, I get this error message.

WARNING (TopicRenderer.render_form):

Renderer for field "/dm4.files.file_content" returned no form element.

topic ID=1976
field={"uri":"/dm4.files.file_content","value":"","topic_type":{"id":1209,"uri":"dm4.files.file_content","value":"File Content","type_uri":"dm4.core.topic_type","composite":{},"data_type_uri":"dm4.core.html","index_mode_uris":["dm4.core.fulltext"],"assoc_defs":[],"view_config_topics":{"dm4.webclient.view_config":{"id":1216,"uri":"","value":"FileContentRenderer","type_uri":"dm4.webclient.view_config","composite":{"dm4.webclient.js_field_renderer_class":"FileContentRenderer"}}}},"assoc_def":{"id":1257,"uri":"dm4.files.file_content","assoc_type_uri":"dm4.core.composition_def","whole_topic_type_uri":"dm4.files.file","part_topic_type_uri":"dm4.files.file_content","whole_role_type_uri":"dm4.core.whole","part_role_type_uri":"dm4.core.part","whole_cardinality_uri":"dm4.core.one","part_cardinality_uri":"dm4.core.one","view_config_topics":{}},"label":"File Content","editable":true,"viewable":true,"rows":1}

I guess the edit button should be disabled for files in the filebrowser, as editing those files through the proxy should be impossible anyway.

Change History

comment:1 Changed 9 years ago by jri

  • Status changed from new to accepted
  • Owner set to jri

comment:2 Changed 9 years ago by Jörg Richter

  • Status changed from accepted to closed
  • Resolution set to fixed

Files module fix: remove "Edit" button (#93).

File and folder topics are not editable.

You must reset your DB.

Furthermore in webclient module: refactor view configuration default value mechanism.

Close ticket 93.

Note: See TracTickets for help on using tickets.