Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Fix duplicate steps issue

#22

We are getting duplicate steps, need to find a way around this.

The only solution I can think of at present is to use find_or_create instead of find_or_initialize

Reported by baphled@boodah.net · April 10th, 2010 @ 05:35 PM

State: open
Milestone: none
Assigned to: baphled@boodah.net baphled@boodah.net

Activity

  1. baphled@boodah.net
    baphled@boodah.net
    • State changed from new to resolved

    Now using find_or_create instead of find_or_initialize which seems to solve the issue.

    April 16th, 2010 @ 03:03 PM

  2. baphled@boodah.net
    baphled@boodah.net
    • State changed from resolved to open

    Doing this stops us from actually importing a features stories, will need to look into this further.

    April 19th, 2010 @ 11:30 AM

  3. baphled@boodah.net
    baphled@boodah.net

    I've reverted the find_or_create_by_title for our steps, this seems to work fine for importing all features, will check this with importing a single feature later

    April 22nd, 2010 @ 03:40 PM

  4. baphled@boodah.net
    baphled@boodah.net

    It seems that the issue lays with importing single features, when we do the import, the feature has no stories. Our steps are not duplicated but we need to address this side effect before we close this ticket.

    April 23rd, 2010 @ 09:16 AM

  5. baphled@boodah.net
    baphled@boodah.net
    • Milestone cleared.

    Can't see an easy fix for this, will move it out and deal with it later.

    April 26th, 2010 @ 04:33 PM

  6. baphled@boodah.net
    baphled@boodah.net
    • Milestone set to 0.8.2
    • Milestone order changed from 0 to 0

    June 29th, 2010 @ 10:36 AM

  7. baphled@boodah.net
    baphled@boodah.net
    • Milestone cleared.
    • Milestone order changed from 8 to 0

    Still trying to find a decent way of dealing with this.

    The next best thing is to rewrite Salad::FeatureFile.

    July 27th, 2010 @ 08:24 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.