The explorer display an empty page, so I debugged the scripts.
On this step, it display well with data. But the channels property is undefined, and explorer page will display empty later. Can anyone help? Thanks!
>Screenshot for the error
In your config, make sure you have at least one peer with the following 4 properties: "requests", "events", "server-hostname", "tls_cacerts". Otherwise, the call to /api/channels times out.
Related
I'm new to react and fluentui development and am having trouble getting the Grouped List examples to work https://developer.microsoft.com/en-us/fluentui#/controls/web/groupedlist
Nothing renders until I remove the SelectionZone element. But then I can't select items.
I'm seeing the following error in the console (which doesn't mean much to me):
useFocusRects.js:67 Uncaught TypeError: Cannot read properties of undefined (reading 'current')
How should I troubleshoot this?
-- Edit --
I created a CodePen
https://codepen.io/matthewfitzmaurice/pen/NWMbXNP . But the CodePen works fine...
I've also noticed that a form that I created containing TextField, DatePicker and ComboBox has stopped working. The error occurs when I use a ComboBox. It's fine if I only use TextFields and DatePickers.
My ComboBoxes were working and now are not. This seems to indicate that I've installed something and broken some of the FluentUI controls.
In case anyone else runs into the same issue, my problem was version related.
Updating my npm packages fixed the issue.
npm outdated
npm update
Good Day!
I have a file PropertyMaint which inherits the InventoryItemMaint.
I also created a custom page on which its TypeName is the PropertyMaint.
Everything runs smoothly but when I am trying to upload an image file in the Attributes TAB, an error occurs, on which supplied fields are being asked again.
These are the steps to reproduce the error:
STEP 1 : Create a new item.
STEP 2 : Fill up all the required fields. (General settings, Price/Cost and GL Accounts TAB)
STEP 3 : Go to the Attributes Tab, add any images by clicking Browse, choose any image and click Upload.
STEP 4 : Click the save button and the error occurs.
Does anyone experienced the similar error I am experiencing?
STEP 1 & 2 - General Settings --- Screenshot
STEP 1 & 2 - GL Accounts --- Screenshot
STEP 3 & 4 - Browse image, save and error --- Screenshot
Code Files
LINK ---->>> Page link
LINK ---->>> PropertyMaint link
LINK ---->>> InventoryItemExtension link
I am currently using the Acumatica 2018 R2 version with the Build 18.202.0029.
I am still new in using the Acumatica framework so any advice and help is very appreciated. Thank you so much
UPDATE 12-14-2018
I checked the persist method of the graph, and I noticed that there are no NULL values on the fields that requires values, the error still occurs.
view values screenshot 1
UPDATE 12-26-2018
The null/empty error still occurs even if I'm just updating a record from my page using my inherited graph. But when I do an undo, the record can be updated again. Are there any way on extending graphs or inheriting them?
Inheritance of graph in Acumatica should be accomplished in the following way:
PropertyMaint : PXGraphExtension<InventoryItemMaint>
I solved my problem by deleting the Example.cs file. The file contains an InventoryItemMaintExtension on which i assume that also triggers during the inheritance in my PropertyMaint. Thank you for all the help, until next time.
I installed Datastax Opscenter and everything seemed fine initially.
After some time all Widgets and Graphs disappeared from the Dashboard.
I can added them, but each time I refresh the browser they all disappear and Dashboard is empty.
Anyone face similar issue?
I don't know if you ever figured it out, but you were halfway there. Deleting the broken preset will allow you to create a new one.
Step 1 (As mentioned in comments on question):
curl http://:8888//rc/dashboard_presets/
This will return an id string for the preset in a {"id"{}} format.
Step 2: curl -X "DELETE" http://:8888//rc/dashboard_presets/id to remove the broken preset.
Note: A symptom of having to delete the preset is if the Default tab disappears from above the date selector.
I am trying to get all the open Browser objects using QTP11.
The code I use is the following:
Set descBrowser = Description.Create
descBrowser("micClass").Value = "Browser"
Set objChildren = Desktop.ChildObjects( descBrowser )
During testing, i have two IE Browser windows open, but the collection returned by the code shows four found items. I checked the running processes also, which show the correct number of 2 processes running.
I have also checked with 3 Browsers open, in which case it shows 6 objects matching the descrption.
Can anybody explain why this could be happening?
UFT 11.52 + Win7
I had tried several strategies to get this done(PIDs, Title, HWND, browser(index)), and still not success, I am not sure on whether this patch is already there.
What I can picture is that for a simple closing task the UFT is also having issues as it says "Object not visible" when I try to close the Browser() object crashing down the test in random fashion.
The best result was a bunch of already alive IExplorer windows(Tabs) oppened.
Can someone provide steps to check the installed patches ?
I see the same behaviour (only for IE not Firefox).
A workaround for this can be to filter out duplicates. For IE if you compare the objChildren(i).GetROProperty("hwnd") you can filter out those with the same value but this will not work if you also use Firefox since in Firefox if you have multiple tabs they all have the same hwnd.
If you have to take FF into consideration you can filter out duplicates using the CreationTime property (instead of the hwnd).
I had the same issue and I had to back out patch QTPWEB_00090 to get it to work. See if you have that QTP patch installed and back it out.
This is fixed in QTPWEB_00107 - Web Browser Control Recognition in Windows Explorer
I've written a Blackberry appliation with the Blackberry JDE, running on a 9000 simulator. I tested it a week or so ago and loaded it on a Blackberry 9000 phone, and everything worked just fine. Sometime between then and now, though, something went wrong.
My code does the whole moving arrow "loading things from the internet" or whatever thing, but no screens pop up. My original screen, which is just a MainScreen with a RichTextField doesn't load at all. This screen, at least, has most likely not changed in the passing week, so if something broke, it would be in one of the later screens/lines of code that it shouldn't even be getting to yet!
Is it possible that my .jad or .cod file are corrupted somehow? I noticed that when I first put code on my machine, I just stuck in the .cod file that Eclipse provided me. Then, last week, the .cod file it gave me didn't work, because it was ACTUALLY a zip file with a two .cod files inside of it. Using the .cod file with the same name as the .cod file they were in succesfully loaded my app. I did the same this time, and I don't get invalid cod file errors or anything, but the app is still as broken.
Is there some direction I should be looking? Is the issue likely to be in my code, the cod file, the phone, or somewhere completely else?
-Jenny
Edit: I've narrowed it down to the problem only occuring if I attempt to load a particular screen. My problem is that this screen is nearly identical to another screen that IS working just fine on the actual device. Both screens are generated from the same method (which makes a webservice call and gets XML back and parses it to populate the fields of the screen). The only difference is that the screen that is breaking is going to a different URL. This URL DOES work (both from a browser and from the simulated device), so I"m at a loss. The application doesn't seem to crash, (it's still running in the background), it just doesn't attempt to display anymore.
Edit:
Okay, I'm seeing some tunneling errors immediately after I load my app, (but before I execute any of my networking code). When i do execute my networking code, it works just fine, unless it happens to be for my "Rental" section. I commented out all calls to that, and made my menu item for Rentals simply make a print statement. The code behaves identically (it freezes, or displays a white screen after selecting the button). All other menu items work (including those that call threads or network methods). And the rentals menu sucessfully executes in the simulator.
private MenuItem _rentals = new MenuItem("My Rentals", 110,
10) {
public void run() {
//if the last thing I did was a rental
//just show the screen
//else, reload rentals
System.out.println("Rentals was selected");
displayError("Rentals was pressed");
// if(rental){
// System.out.println("It's a rental!");
// popScreen(getActiveScreen());
// pushScreen(_offeringsScreen);
// }else{
// System.out.println("Getting Rentals from scratch");
// RentalsThread _rThread = new RentalsThread();
// _rThread.start();
// }
}};
I'm at a complete loss here: The device debugger doesn't seem to even register me selecting the menu item, and not a single line of code executes! It just freezes! I'll try putting back in my RentalsThread call in the start of my program (which was also freezing) just to see if I can tease apart the problem with the Rentals Thread (which makes the Rental Screen), and the problem with the Rentals menu item.
Okay, I think I have this figured out.
1.) My code was still behaving identically even after commenting out everything because I wasn't rebuilding the .COD files (they automatically rebuild if you try to run it in the simulator, but don't when you're generating a .ALX file, for some reason).
2.) The code I had for generating the Rental Screen was adding things to said screen. Apparently this is all well and good on the simulator, but on the real device it's required that you do all graphics manipulation (even for graphics not yet displayed) in an event thread (I used invokeAndWait).
So, now everything seems to be working just fine. There wasn't anything wrong with my networking (nor did I think there was, because my other networking screen works just fine). I still don't know why I get all those weird tunneling network things before I start, but it doesn't seem to affect anything yet.
See also:
BlackBerry UI Threading - The Very Basics
BlackBerry threading model
several suggestions:
if you have some background work with resources like file IO or networking, app just may stuck there... provide error handling and try to debug app from device!
code signing, check latest code update for API which require signing. But since there are no errors this is doubtful.
To debug on device, run Blackberry Device Manager, attach phone to usb, in eclipse select project, Context Menu -> Debug As -> Blackberry Device.
See A50 How to Debug and Optimize
UPDATE I see "Tunnel failed" exception, so it's like network connection problem...
See tunnel failed in blackberry bold. why?
How to Configure Full Internet Access On BlackBerry
UPDATE Support - Application stops responding when opening a connection