Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-23333

iSyllabus should be able to discover and link to new entities

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      You can't yet test in trunk as no classes other than Assignments/Forums/Samigo implement PropertyProvideable. We'd either need to add this to a new entity or you can test by changing the line in

      FCKeditor/connector/src/java/org/sakaiproject/connector/fck/FCKConnectorServlet.java

      hiddenProviders = Arrays.asList("assignment","sam_pub","forum","forum_topic","topic");
      to
      hiddenProviders = Arrays.asList("");

      Then you'll see the whole list of providers.

      Show
      You can't yet test in trunk as no classes other than Assignments/Forums/Samigo implement PropertyProvideable. We'd either need to add this to a new entity or you can test by changing the line in FCKeditor/connector/src/java/org/sakaiproject/connector/fck/FCKConnectorServlet.java hiddenProviders = Arrays.asList("assignment","sam_pub","forum","forum_topic","topic"); to hiddenProviders = Arrays.asList(""); Then you'll see the whole list of providers.

      Description

      The old EntityBrowser tool was is similar to the iSyllabus linking, however it was able to use EntityBroker to discover all registered entities (filter out a few) and display them in a pickable list

      Set<String> providers = entityBroker.getRegisteredPrefixes();

      https://source.sakaiproject.org/contrib/asu/EntityBrowser/tool/src/java/org/sakaiproject/tool/entitybrowser/rsf/producers/EntityProviderListProducer.java

      the iSyllabus ConnectorHelper only knows about the tools hardcoded, so if someone drops in some new tool it doesn't know about it would also need to be hardcoded. This makes sense for existing tools to give a better view or functionality, but I think some of the linking to entities it doesn't know about could still be retained.

      Otherwise it seems like we'd have to have two tools still?

      Relates: SAK-22283

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code