Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S SobiPro
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Sigsiu.NET GmbH
  • SobiPro
  • Issues
  • #91

Something went wrong while setting issue due date.
Closed
Open
Created 7 years ago by Sławek Sikora@SikorReporter
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Part of the Collection application data is missed

Closed

Part of the Collection application data is missed

Looks like part of the collection application data in the collection view is missed after 1.4.6 core update. This is data available with SobiPro 1.4.5:

   <collection allow_contact="true" allow-contact="true" allow_share="true" allow-share="true" label="Send Message" url="/index.php/business-directory/collection?ssid=5ae82336e8fc5">
     <button>
       <a class="ctrl-collection-list" href="/index.php/business-directory/collection?ssid=5ae82336e8e05"><i class="icon-star"></i> Favourites</a>
     </button>
     <lists>
       <list prompt="New List Name" cid="new" label="Create New List"/>
       <list cid="5ae821afec073" label="moja" public="false" url="/index.php/business-directory/collection?cid=5ae821afec073">
         <entries>
           <entry id="13876"/>
           <entry id="13878"/>
           <entry id="13884"/>
         </entries>
       </list>
     </lists>
   </collection>

and this is same view after update to 1.4.6

  <collection>
    <button>
      <a class="ctrl-collection-list" href="/index.php/business-directory/collection?ssid=5ae821c3b933f"><i class="icon-star"></i> Favourites</a>
    </button>
    <lists>
      <list prompt="New List Name" cid="new" label="Create New List"/>
      <list cid="5ae821afec073" label="moja" public="false">
        <entries>
          <entry id="13876"/>
          <entry id="13878"/>
          <entry id="13884"/>
        </entries>
      </list>
    </lists>
  </collection>
Edited 7 years ago
  1. Oh no!

    You are trying to upload something other than an image. Please upload a .png, .jpg, .jpeg, .gif, .bmp, .tiff or .ico.

    Incoming!

    Drop your designs to start your upload.

Linked issues
...


    • Sławek Sikora
      Sławek Sikora @Sikor · 7 years ago
      Reporter

      As a temporary workaround for the not properly generated links to the collection lists in teh collection view, can be used following workaround in the common/collection.xsl template file for collectionsList template:

      	<xsl:template name="collectionsList">
      		<xsl:variable name="cid" select="php:function( 'SobiPro::Request', 'cid' )" />
      		<xsl:if test="count(/*/collection/lists/*)">
      			<ul class="nav nav-pills">
      				<li>
      					<xsl:if test="not(string-length($cid))">
      						<xsl:attribute name="class">active</xsl:attribute>
      					</xsl:if>
      					<a href="{/*/collection/button/a/@href}">
      						<xsl:value-of select="php:function( 'SobiPro::Txt', 'COLLECTIONAPP.ALL_COLLECTED' )" />
      					</a>
      				</li>
      				<xsl:for-each select="/*/collection/lists/list">
      					<xsl:if test="@cid != 'new' ">
      						<li>
      							<xsl:if test="@cid = $cid">
      								<xsl:attribute name="class">active</xsl:attribute>
      							</xsl:if>
      							<a href="{substring-before(/*/collection/button/a/@href,'?')}?cid={@cid}">
      								<xsl:value-of select="@label" />
      							</a>
      						</li>
      					</xsl:if>
      				</xsl:for-each>
      			</ul>
      		</xsl:if>
      	</xsl:template>
    • Sławek Sikora @Sikor changed title from Part of the Collection application dat is missed to Part of the Collection application data is missed 7 years ago

      changed title from Part of the Collection application dat is missed to Part of the Collection application data is missed

    • Sigrid Suski @TrinitySu assigned to @Radek-Suski 7 years ago

      assigned to @Radek-Suski

    • Sigrid Suski @TrinitySu changed milestone to %1.4.7 7 years ago

      changed milestone to %1.4.7

    • Sigrid Suski @TrinitySu added fixed in vc and removed new labels 7 years ago

      added fixed in vc and removed new labels

    • Sławek Sikora
      Sławek Sikora @Sikor · 7 years ago
      Reporter

      works fine in 1.4.7.2

    • Sławek Sikora @Sikor added test passed and removed fixed in vc labels 7 years ago

      added test passed and removed fixed in vc labels

    • Sigrid Suski @TrinitySu changed milestone to %1.4.7.2 7 years ago

      changed milestone to %1.4.7.2

    • Sigrid Suski @TrinitySu closed 7 years ago

      closed

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    Assignee
    Radek Suski's avatar
    Radek Suski
    @Radek-Suski
    Assign to
    1.4.7.2
    Milestone
    1.4.7.2 (Past due)
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    Due date
    None
    None
    3
    Labels
    SobiPro 1.x Core bug test passed
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    3
    3 participants
    user avatar
    user avatar
    user avatar
    Reference:

    footer

    Legal Notice / Impressum | Data Protection / Datenschutzinformation