Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » TableField: Unable to remove rows

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1725 Views
  • yesperiod
    Avatar
    Community Member
    2 Posts

    TableField: Unable to remove rows Link to this post

    I have created and events module, part of this module is categories of events using the TableField object. However, everyting on the UI works, but when I save an updated list of categories, the ones dleeted re-appear. Not sure why they are not being deleted in database. Is there something I am missing in the use of this field as far as removing data goes?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: TableField: Unable to remove rows Link to this post

    Could you try hit 'Save and Publish' after you hit delete.. Seems weird you would need to save after you delete but you could try it

  • yesperiod
    Avatar
    Community Member
    2 Posts

    Re: TableField: Unable to remove rows Link to this post

    I have tried Save & Publish. For same result. I followed Tutorial for many-to-many or HABTM relationship for Categories. Is this code outdated?

  • marc
    Avatar
    Community Member
    2 Posts

    Re: TableField: Unable to remove rows Link to this post

    Hi,
    I have nearly the same problem with the filesystem. I can delete files and create new folders, they are also deleted/created in the Database, but everytime I reload the Files&Images-Page it seems like the system loads a backup and all is like before.
    Any suggestions?

  • SilverRay
    Avatar
    Community Member
    167 Posts

    Re: TableField: Unable to remove rows Link to this post

    Subscribed.

    I have this with checking and unchecking entries in a tablefield with a manymany relationship set-up...

    1725 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.