Fitnesse- Error refactoring a page - fitnesse

HI, Everytime I try to refactor a page I get the following error-
Cannot rename FitNesse.StoreProcedure to TestSuite.StoreProcedure
TestSuite.StoreProcedure is not a valid simple page name.
Due to this I am having trouble creating a test suite. Any help will be appreciated.

Are you trying to move the page from one sub-wiki to another rather than rename it?
The Refactor tab allows you to delete, rename or move a page.
To rename your FitNesse.StoredProcedure to FitNesse.TestStoredProcedure you enter TestStoredProcedure in the rename field.
To move your page to a different sub-wiki - say from FitNesse.StoredProcedure to TestSuite.StoredProcedure, enter TestSuite in the move field.

Related

problem with a submit and last powerApps 's folder modified in my APP

I am currently building an app with PowerApps, but i have a problem...
In fact, i would like that my app be on several screens. So in the first edit screen i use a button with the following formula :
Patch(NAME_OF_MY_SHAREPOINT_LIST,First(Filter(NAME_OF_MY_SHAREPOINT_LIST,ID = idcourant )),{balise:idcourant});SubmitForm(EditForm1);EditForm(EditForm1_1);Navigate(EditScreen1_1)
So i create and use a variable (idcourant) to modify the current folder which is the first edit screen (EditForm1) and i put this variable in the field "balise". In fact the problem is when i click on the button : the application put the user on the last modified and recorded folder of the list SharePoint...So the current folder change of ID, and this is another folder with another ID which is opended in the second edit screen:(EditForm1_1). This is a big problem for me because my application is not available for the moment and i must to deploy it very soon.... Are there any solutions ?
In fact i have found a solution : Make a submit of the first form, and then go to the next edit form.... It was so easy ... lol
SubmitForm(EditForm1);EditForm(EditForm1_1);Navigate(EditForm1_1)

What kind of hook can I use if I want to change my custom price on Woocommerce bulk edit page?

I created custom price for WC_Product, put them into WC Bulk Edit Page and want to save changed values to disk.
I have seen class WC_Admin_Post_Types (woocommerce/includes/admin/class-wc-admin-post-types.php) and found there some kind of hooks.
I tried to hook `woocommerce_product_bulk_edit_save', but this trigger does not work (or I did something wrong there).
I did find examples in WWW, but then I shall create and use wp_ajax_{something} and 20-30 lines JS code.
May be exists another way for this - my custom price needs all the same as native WC price - where can I see how they are handled and save?
I was able to connect my custom function to hook `woocommerce_product_bulk_edit_save': this hook run if any of native Bulk Edit Fields will be filled, but I filled my custom field only. All should be fine. Thanks if you read this).

Stack Overflow-like tagging behavior in Rails

I have a new application that contains a Modela called "Campaigns". Each campaign is able to have any number of tags associated with it.
What I am attempting to do is impliment a Stack Overflow-like behavior with these tags. Namely, that when you create a new campaign, it gives you a text-field that will auto-complete with tags that already exist, and start anew every time you put a space. Additionally, should the tag not exist, it should create a new tag.
This railscast is a step in the right direction, but it only allows for one "tag" at a time.
Can anyone point me in the right direction?
In the model layer I'd go for a plugin like: https://github.com/mbleigh/acts-as-taggable-on.
In the view you want an autocomplete plugin (personally I use this http://docs.jquery.com/Plugins/autocomplete). Then either generate a controller for the tags and fetch the autocomplete list remotely or just = them in the page.

Save Conflict Error when trying to add new List Items at the time of list creation

We have created a Custom List template programmatically using Feature.xml, Element.xml, Schema.xml AllItems.aspx, and 3 aspx forms. We have a code behind file for each of these aspx files. i.e. for the AllItems.aspx, DispForm.aspx, EditForm.aspx and NewForm.aspx.
Problematic file is AllItems.aspx. In the code behind for AllItems.aspx file we are deleting previous list items and adding new items to the list before showing them up to the user. As per expectations the code behind file for AllItems.aspx is derived from WebPartPage Class and we have tried to overload quite a few methods without much success.
Problem only occurs on the first time rendering i.e. when an instance of this list is created. When overriding OnLoad(), we get the Save conflict error, Similar is the case with OnInit(), CreateChildControls() method. However, when we override the Render() or RenderChildren() method no such error comes up but at the same time our new list items are also not visible. On browser refresh everything starts working fine as expected. It is only for the first time that the issue comes up.
What could be the possible cause for this? Any ideas, suggestions would be highly appreciated.
Best Regards,
Raghu
I had a problem with a custom EditForm.aspx. I have two lists that are linked together and a change in one causes an event handler to update the other. I have a custom control in EditForm.aspx that edits the linked list. This was causing the event handler to update the item displayed by EditForm.aspx. This in turn would cause the conflict error when the user saved the form.
I finally found that I could reset the context with:
SPContext.Current.ResetItem();
I am not sure if this will help in your case but it fixed my problem.

Dynamics AX 2009 - Modify insert into smmActivities from ProjTableWizard?

I am an AX newbie, and I need to make a modification to the ProjTableWizard form code and have not been able to locate where I need to make the change. Essentially what I need to do is modify the part of the Wizard process when creating a sub-project. I need to figure out how a line is inserted into the smmActivities table, so that I can modify the “Activity Purpose” field (prefix it with the Activity Purpose of its parent Project from the ProjTable Form) following the “Finish” button click on the ProjTableWizard form. So far I have been unable to figure out how the ProjTableWizard form is triggering this insert into smmActivities (and how the Purpose field is being populated from the Wizard). Any help would be greatly appreciated! Thanks
To locate the code that is creating smmActivities records, set a breakpoint in the smmActivities.insert() method, then run the ProjTableWizard. Once the debugger pops up, you can view the stack trace to see where the insert was called from.
When using the ProjTableWizard to create a project from a template, the smmActivities records are created in the class method HierarchyTemplateCopying.copyActivity(). It looks like the Purpose field is simply copied from the smmActivities records associated with the template.

Resources