Ticket #283 (closed Defect: fixed)

Opened 8 years ago

Last modified 8 years ago

editing "hidden" aggregated composites does currently not work

Reported by: Malte Owned by: jri
Priority: Major Milestone:
Component: DeepaMehta Standard Distribution Version: 4.0.11
Keywords: Cc:
Complexity: 3 Area: GUI / Usability
Module: deepamehta-webclient

Description

after "editing" a complex type which has a "hidden" aggregated composite (with many cardinality) the "Ok"-button is not rendered and the editing cannot be saved. on client side the webkit console displays Uncaught TypeError? while trying to "render_add_button"..

this is a sub ticket of #30

Attachments

viewConfigs-EditMany.txt (931 bytes) - added by Malte 8 years ago.

Change History

Changed 8 years ago by Malte

comment:1 Changed 8 years ago by Malte

  • Module set to deepamehta-webclient
  • Area set to GUI / Usability

confirmed, with exemplary (editable-hidden) topictype declaration, where dm4.eduzen.module is a composite

            "value": "Studiengang",
            "uri": "dm4.eduzen.studypath",
            "data_type_uri": "dm4.core.composite",
            "assoc_defs": [
                {
                    "part_topic_type_uri":   "dm4.eduzen.studypath.name",
                    "part_cardinality_uri":  "dm4.core.one",
                    "assoc_type_uri":        "dm4.core.composition_def"
                }, {
                    "part_topic_type_uri":      "dm4.eduzen.module",
                    "part_cardinality_uri":     "dm4.core.many",
                    "whole_cardinality_uri":    "dm4.core.many",
                    "assoc_type_uri":           "dm4.core.aggregation_def",
                    "view_config_topics": [
                        {
                            "type_uri": "dm4.webclient.view_config",
                            "composite": {
                                "dm4.webclient.editable": false
                            }
                        }
                    ]
                }
            ]

comment:2 Changed 8 years ago by jri

  • Status changed from new to accepted

comment:3 Changed 8 years ago by Jörg Richter

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

Webclient: fix hidden-many-composites (#283).

Fixed in master.

Close ticket 283.

comment:4 Changed 8 years ago by Jörg Richter

Webclient: fix hidden-many-composites (#283).

Fixed in master.

Close ticket 283.

comment:5 Changed 8 years ago by Malte

thanks for the fix coming that quick - merging is fun :)

comment:6 Changed 8 years ago by Jörg Richter

Webclient: fix hidden-many-composites (#283).

Fixed in master.

Close ticket 283.

Note: See TracTickets for help on using tickets.