I can't seem to edit some webdynpro java views, whenever I try to edit the code it prompts me to logon to DTR and when i do logon, a DTR console appears at the bottom and still i can't edit. I repeat this step over and over again no luck.
Any assistance will be highly appreciated.
Below are images of my screen results:
It seems like some of your views have been checked-in already and some have not. The latter require DTR login and this is normal. The problem lies in that you cannot login somehow (because of permissions or other reason) and that's why you cannot edit. Try to:
Set up DTR client properly
Set up development configuration
Synchronize resources again
Afterwards try to edit once more.
Related
I have a java project I'm assessing using Fortify. Some of the issues need to be suppressed and if so, a comment needs to be made describing why the issue is being suppressed.
How can I see this comment in the generated application report? I'm using the web interface, not workbench.
The suppressed issue appears, I just want to be able to see the comment along with it.
Thank you in advance.
EDIT:
I am able to work in the workbench if needed.
After awhile of searching I was able to figure out how to go about this.
For starters, I should mention that our Fortify scan was initiated by a Jenkins build. In the web interface, or SSC, I had to navigate to the artifacts tap. From there, I pressed the "Download Application File With Sources" button, which gave me an updated FPR that contained all of the suppressions and comments.
After that I had to use the Audit WorkBench to open that .fpr file. Then I chose not to override the default filter (not sure if that will pop up for everyone) and clicked the "Reports" tab.
I then selected the "Developer Workbook" template from the dropdown then clicked Issue Filter Settings. I checked "Suppressed" and deselected Collapse Issues (only Suppressed should be checked).
Next, I added a filter for only high's and criticals by selecting advanced to the right of filter and choosing "fortify priority order", "does not contain", "low" or "medium". There's an "||" to the top right you can click to have an additional filter.
Then I selected generate and it worked! The comments for suppressed issues will appear under "Audit Comments" in the report for each issue. Hope this helps others in the future.
So this is odd for me and occurring multiple times now. I set up an perforce workspace copied from the MASTER and then it works for a few days then one day it just shows the hard drives where it should show the WorkSpace root folder.
All the update workspace and submit options are not allowed and then i have to currently REDO my workspace to get access again.
The settings haven't changed and IDK what could be causing this and how to fix it without a REDO of the workspace.
Is this a problem others have faced ? or just a bug in the software ?
How it does look:
And because I assume this is the first question . I have tried the settings they are still currently setup correctly.
Funny enough, I ran into this issue today.
If someone has this issue make sure that in the top right of the Workspace area, the filter is set to "Workspace Root" and not "Entire Computer". The filter looks like a little funnel for those who don't know.
Picture of Workspace filter image
Looks like your workspace Root has been set to "null" to allow it to map multiple drives. This is not in itself particularly problematic, but it's not something that should happen spontaneously.
The fact that you don't have permission to modify it AND it's changing out from underneath you makes me wonder if you might be using someone else's workspace. Is your username in the "Owner" field? Generally each user should have their own workspace(s).
Assuming that's the problem, the solution is to make your own workspace, and set it to "locked" to prevent anyone else from changing it.
I have the problem that with merchandise where there multiple options (t-shirt sizes, etc) that the 'add to cart' button is missing. It is OK where there there is only one option - a cd for example. I have entered all the info, stock numbers, prices, etc.
The problem persists if I turn off all other plugins. I can't see an error in the Java console (I tried a plugin that is supposed to fix java errors anyway) and the add to cart button is visible if I switch to another theme. Be great of someone who has been down this path can get me started on finding a solution.
Thanks for you help!
http://5.133.182.68/~knifewor/product/knifeworld-gold-logo-t-shirt/
Update
Turning debugging on I can see the following error:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/knifewor/public_html/wp-includes/functions.php on line 3245
Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/knifewor/public_html/wp-includes/functions.php on line 3245
Notice: Cookie cannot be set - headers already sent in /home/knifewor/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 375
Notice: Cookie cannot be set - headers already sent in /home/knifewor/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 375
Notice: Cookie cannot be set - headers already sent in /home/knifewor/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 375
And I now notice on the shop page the footer fails to load.
There is a php error in the page. You need to turn on the WP_DEBUG to see the error.
Normally, if the problem goes away when you switch themes, especially if there's no JS error, then we can assume the problem is in your theme's WooCommerce templates. They are probably out of date. I fixed a lot of themes that "broke" when WooCommerce updated to 2.0/2.1.
In the admin, under WooCommerce go to System Settings and at the bottom of the page you should see any templates that are being overridden in the theme. I think it should also say which templates are out of date.
If you view source you will see the page is incompletely loaded. This means wp_footer() is never run and therefore all the scripts that belong in the footer are never loaded... including WooCommerce's add to cart scripts.
Therefore, I second #sabanix's answer to turn on WP_DEBUG. The problem may or may not be in your theme's WooCommerce templates, or a more generic error in your theme.
If I had to guess, it is probably single-product/add-to-cart/variable.php template. I would suggest renaming it (or deleting it) so that WooCommerce will use its default template and see if that resolves it.
first of all I am sorry on my English.
I have a problem in my Gwt application.
I build Gwt application and I work on application every day
Yesterday I want to still work on my application but is stopped worked and i do not know why and I not get errors
The application compiled and I get the Url to run on browser
I copy the Url to my Firefox browser and not happened nothing.
I put break point in my entry point class and I see the application not arrived to entry point and I do not know why.
I try to open new project to check maybe the problem in eclipse or in Gwt plug in but the new project worked excellent so I understand the problem in specific this project.
I need help
thank you everyone
Okay i have 3 possible suspicions:
You updated your Application, but for some reason some JavaScript stayed inside the Firefox cache. Solution: Go to options and "Clean cache" and always try to press CTRL+F5 instead of just reloading, this will clean the current website's cache saved in your Browser.
Your HDD is full(less likely). You said you work everyday on the app. The caching in dev-mode is very VERY bad(for me it once contained 300GB of cached data). there is a folder called <win_user>/AppData/Local/Temp - delete everything inside if you find a lot of "gwt-<something>" files and check the folder's size. There is nothing valuable inside it(if you didn't place anything inside :D)
P.S. Turns out it was a Firefox Memory-leak that has been fixed in GWT 2.6.0 :)
Your Eclipse messed up some random stuff. As always - Project > Clean...
Then right click on app and let gwt recomile your app(if you have an ant file that uses the gwt-compiler, execute that)
I can't really think of anything else...
The only thing that could be is that YOU changed something, but you said you didn't so...
Hopefully it works,
Laurenz
I'm trying to work out on the add to basket script so I could remotely add products to the basket of ASOS from my server.
There was an API a while ago but it got closed. It's not open anymore.
I'm thinking about developing a java bot. However, I'm still hoping for an easier solution.
EDIT: in brief what i want to know is how to simulate in php the "ADD TO BAG" button pressing process that will eventually add the item to the bag.
Your question is pretty vague. That said, if I understand you correctly, you want to emulate an enduser accessing the system from a web-form. You should simply check for the form's action attribute, and do an HTTP POST to that url with the post variables filled in.
Try to look at Selenium source code btw.
I'm also pretty sure that the system uses cookies for login, so don't forget to go to login page->authenticate->grab the cookies->send it back everytime you add something to your 'basket'.