Uploaded image for project: 'Links directory'
  1. Links directory
  2. LINKS-128

Add the id and key of the theme in link directory input data

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 2.12.0
    • 2.4.0
    • None

      The conf contains that
      CANTINE

      And the inputdata contains this

      <linkDirectory applicable="true" configurable="false">
         <themes>
      	<theme>directoryTheme://b9947c60-8b5d-41d1-82d6-76c8ac4dd409</theme>
      	<theme>directoryTheme://adfc959b-d00b-4891-9e26-93d0fdc09472</theme>
      </themes>
      <links>
      	<link id="directoryLink://635fa837-fd65-45c8-b318-e08fa7e26520" lang="fr" 
                  url="http://www.lacantine.fr" urlType="URL"                                     
            
      dynamicInformationProvider="plugin.cantine.DynamicInformationProviderExtensionPoint"
      title="La cantine" content="" alternative="" pictureAlternative=""
      user-selected="false" pictureType="glyph" pictureGlyph="fa fa-cogs"
      grantAnyUser="false" limitedAccess="false" userLink="false">
      <themes>Cantine, Applis metiers</themes>
      </link>
      

      So we do not know which link belongs to which theme, we should have the identifier instead of the label

          [LINKS-128] Add the id and key of the theme in link directory input data

          The need is covered by the LINKS-177

          Raphaël Franchet added a comment - The need is covered by the LINKS-177

          Bérénice Maurel added a comment - - edited

          The correction of LINKS-177 is fixing the `themes` of links but not the `themes` root tag.

          We can change this by adding, the name, but for the label, we should move the id to the `theme` tag and add the label between tags.

          For example:

          <themes>
          
              <theme id="directoryTheme://..." name="CANTINE">Cantine</theme>
              <theme id="directoryTheme://..." name="COVID">Coronavius</theme>
          
          </themes>

          Bérénice Maurel added a comment - - edited The correction of LINKS-177 is fixing the `themes` of links but not the `themes` root tag. We can change this by adding, the name, but for the label, we should move the id to the `theme` tag and add the label between tags. For example: <themes>     <theme id= "directoryTheme: //..." name= "CANTINE" >Cantine</theme>     <theme id= "directoryTheme: //..." name= "COVID" >Coronavius</theme> </themes>

            Unassigned Unassigned
            lbouziat Léa Bouziat
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: