Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16856

tc-346:Grouping attributes in Webin ( the +/- doesn't work on front page (webin_site))

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 4.4.0alpha1
    • Fix Version/s: QA tracked issues
    • Component/s: Misc
    • Labels:
      None

      Description

      Hi,

      • When we group attributes, the +/- to fold/unfold the group of attributes doesn't work on the front page (webin_site). The attributes stays always unfolded.
      • The +/- icons works in the Webin Admin interface
        Steps to reproduce

        Create a content class with grouped attributes
         
           1. Log in as admin on plain admin
           2. Click on "Classes" in the left menu
           3. Click on "Content" in the "Class groups" block
           4. Click on "New class"
           5. Enter the required form values:
                  * Name: "CL-346"
                  * Identifier: "cl_346"
                  * Description: leave blank
                  * Object name pattern: leave blank
                  * URL alias name pattern: leave blank
                  * Container: unchecked
                  * Default object availability: unchecked
           6. Add a Text line attribute:
                  * Select "Text line" in the attributes dropdown
                  * Click on "Add attribute"
                  * Fill in the form fields:
                        o Name: "Title"
                        o Identifier: "title"
                        o Category: "Default (content)"
           7. Add an XML Text attribute:
                  * Select "XML Block" in the attributes dropdown
                  * Click on "Add attribute"
                  * Fill in the form fields:
                        o Name: "Body"
                        o identifier: "body"
                        o Category: "Default (content)"
           8. Add a Text line attribute:
                  * Select "Text line" in the attributes dropdown
                  * Click on "Add attribute"
                  * Fill in the form fields:
                        o Name: "Keywords"
                        o Identifier: "keywords"
                        o Category: "Meta"
           9. Add a Text block attribute:
                  * Select "Text block" in the attributes dropdown
                  * Click on "Add attribute"
                  * Fill in the form fields:
                        o Name: "Description"
                        o Identifier: "description"
                        o Category: "Meta"
          10. Click on "OK" to publish the content class
          11. Logout
         
         
         
        Create an object of class CL-346, and check that attributes are grouped
         
           1. Enter Webin as admin
           2. Select "Folder" in the class dropdown
           3. Create a new folder named “Group Test”
           4. Click on “Group Test” link on top menu
           5. Select "CL-346" in the bottom class dropdown
           6. Click on "Create" button
           7. Check that the "Title" attribute is visible and has a text input
           8. Enter a value for Title: "TC-346"
           9. Check that the "Body" attribute is visible and has a textarea input
          10. Enter a value for Body: "TC-346's body"
          11. Verify that there is a "Meta" group
          12. Verify that exists icons to fold/unfold the “Meta” group
          13. Click on "Meta"
          14. Check that a frameset was unfolded, entitled "Meta"
        

        Activity

        Hide
        André R added a comment -

        Probably fixed in ezwebin trunk as of rev. 4623 as missing ezscript_require call for jquery was added.
        Also rev. 4622 fixed override order once and for all by removing need for ezjscore extending ezwebin so extension loading order does not matter anymore.

        Show
        André R added a comment - Probably fixed in ezwebin trunk as of rev. 4623 as missing ezscript_require call for jquery was added. Also rev. 4622 fixed override order once and for all by removing need for ezjscore extending ezwebin so extension loading order does not matter anymore.
        Hide
        Christian Pfeffer Gjengedal added a comment -

        André's commit did the trick.

        Show
        Christian Pfeffer Gjengedal added a comment - André's commit did the trick.

          People

          • Assignee:
            Christian Pfeffer Gjengedal
            Reporter:
            Paulo Cardiga
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: