Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1657

<notification> tag is at different locations in feed and process xsd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • feed, process
    • None

    Description

      In Feed instance , notification tag should come right before ACL in the entity definition. In sample entity,

      <feed description="clicks log" name="clicks" xmlns="uri:falcon:feed:0.1">
          ...
          </locations>
          <notification type="email" to="falcon@localhost"/>
          <ACL owner="testuser-ut-user" group="group" permission="0x755”/>
      ...
      </feed>
      

      2. Email notification tag should be last tag in the process entity. Sample xml is

      <process name="[process name]">
          ...
          <notification type="email" to="bob@xyz.com,tom@xyz.com"/>
      </process>
      

      When users are creating entity xml definitions, this discrepancy becomes a usability issue. A user can accidentally create a process entity with notification tag before ACL tag, submit it and get an error.

      I recommend making it consistent by having notification be last tag for all schedulable entities.

      Attachments

        Activity

          People

            bvellanki Balu Vellanki
            bvellanki Balu Vellanki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: