[TIMOB-28542] iOS: Logging an object on simulator does not show full object
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-10-05T18:26:28.000+0000 |
Affected Version/s | Release 10.1.0 |
Fix Version/s | Release 10.1.1 |
Components | n/a |
Labels | regression |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2021-09-29T11:41:58.000+0000 |
Updated | 2021-11-17T10:46:56.000+0000 |
Description
Description
When logging an object on an iOS simulator it only logs the first bracket and not the full object. This is because of the filtering introduced in [this commit](https://github.com/appcelerator/ioslib/commit/b06258a7558e544a7c4bc482f93bb6b7c03072e9#diff-657691f6709d5e6f2f471b79e5d5fbdc2b5b33f3c4a1c16714fd038f18f735da)
var _window = Ti.UI.createWindow()
_window.addEventListener('click', (e) => {
console.log(e);
})
_window.open();
*Workaround*
* Stringify the object before logging it
* Look for the Found application log file:
log and open that file to view the log directly
Possible PR: https://github.com/appcelerator/ioslib/pull/214
Possible to put it into 10.0.1.1? Many are waiting for that
[~benutzername] we don't currently have a full 10.1.1 released lined up as we've not had many issues come from the 10.1.0 release, but I think we will look to backport this and other fixes into 10_1_X to allow people to grab them from a CI build
This was backported onto the 10_1_X branch
Question: When this fix has been backported, will reinstalling 10.1.0.GA fix the issue?
[~jonasfunk] It means it's available on that branch, so you can install a CI build with
\[appc\] ti sdk install -b 10_1_X
and get a build with the fix. Already released GA's are never updated, so this fix will most likely go into a 10.2.0.GA (unless we do a 10.1.1.GA)