"Select some rows for deletion"

Discussion in 'Fabrik 3.x Testing' started by futuron, Apr 10, 2012.

  1. futuron Member

    Level: Professional
    Hi, I get the following message when I try to delete a record from a list (frontend):

    I get this using both methods (clicking X next to the record, or selecting the record and pressing X at the top of the list).

    The website is a few months old so I figured that updating would solve it, but the problem persists. I can't imagine that no one else noticed this, so I'm not sure if it's a bug or not.
  2. jmbarra78 Member

    Level: Community
    Hi, I only get the message with php plugin list, but not with delete button.

  3. rob Administrator

    Level: Community
    I can't replicate this one, are there any js errors on the page? could you double check all files were update?
  4. futuron Member

    Level: Professional
    There are no javascript errors. I also updated to 3.0.5-55 today before trying again. I only encounter this problem in the frontend, it works fine in the backend. Also, I use fabrik's default templates on this one.
  5. troester Well-Known Member

    Level: Standard
    Do you have delete access rights in the frontend (is it the same if you are logged in as superadmin)?
  6. futuron Member

    Level: Professional
    The list in particular is in a secure section of the site, i.o.w. you Must be logged in to see the list. The minimum usergroup is Registered.
  7. rob Administrator

    Level: Community
    can you skype me with the details to look at the page? Must be something I have set up differently to you that is causing the different observations in what is happening

  8. bksvom New Member

    Level: Standard
    Have you found any solutions for this yet?

    My environment:
    Joomla 2.5.6
    MySql: 5.5.25a
    PHP: 5.4.4
    Fabrikar: (from http://fabrikar.com/downloads?resetfilters=0)

    Table is embedded in frontend using {fabrik view=list id=6 layout=default}

    1)when I click X then the checkbox becomes checked before the alert comes: "Select some rows for deletion"
    2) The Edit button works as expected
  9. troester Well-Known Member

    Level: Standard
    I can't replicate this: clicking the x in a list displayed via content plugin displays the alert "do you really want to delete...", clicking OK deletes the row.

    Can you update from GitHub to get the latest fabrik version and see if this solves your issue?
  10. bksvom New Member

    Level: Standard
    I also observes that it works for the same table when I access it via an MenuItem (type Fakrik:List).

    The problem seems to appear when I add it as an inline list in an article ({fabrik view=list id=6 layout=default})
  11. bksvom New Member

    Level: Standard


    The problem appears in the first table when I have TWO (or more ?) inline tables in an article. In the bottom table it seems to work.

    Could it be picking the wrong elemet in list.js (line 854)
    this.form.getElements('input[name^=ids]').each(function (c) {}

    Seems to be based on row-id only, maybe it need also table id....

    A danger could actually be that it ends up deleting rows in the wrong table!!!
  12. troester Well-Known Member

    Level: Standard
    I can reproduce it with the downloaded fabrik version but it's ok in the recent GitHub version, so can you try to update?
  13. bksvom New Member

    Level: Standard
    Thanks for the confirmation.

    For now I change all multi-list menuitems with single list menu items, just so that I can get the site into production again. I will look into the GitHub when my head is above water again.
  14. troester Well-Known Member

    Level: Standard
    You should really update from GitHub as soon as possible (backup before if it's a live site!), there have been a lot of bug fixes and improvements since

Share This Page