ArasLabs / updated-properties-dialog

Adds ability to preview item GUID before copying, as well as the ability to generate a QR code which links directly to the specified item.
MIT License
3 stars 0 forks source link

[BUG] Another method "cui_default_pmig_properties" failed #3

Open dkfrizzell opened 5 years ago

dkfrizzell commented 5 years ago

Expected Behavior

Property window should appear.

Actual Behavior

Property window doesn´t start up at all. I just get an error message. Note: I am seeing the exact same behavior as the other reported bug.

Steps to Reproduce

  1. Open an ItemType from TOC
  2. Search and select Item in grid
  3. Right click -> Properties -> Error messages appear

57512076-00658b00-730b-11e9-8fe6-65879db36c54

When I start the properties dialog from an opened Item, nothing will happen.

Environment Details

Aras Innovator

Browsers

Project Version

v1.0

Additional Details

I first downloaded and installed against V12BETA and it worked fine. Once 12.0 was released, I installed against the live version and now I'm running into this problem.

Workaround / Solution

As stated in the other bug report, commenting out the following code makes the ID hover work, but QR does not display. However unlike the other bug report, retyping the quote marks around "qrCode" did not fix the problem for me :)

var code = new QRCode(document.getElementById("qrCode"), { text: text, width: 192, height: 192, colorDark : "#000000", colorLight : "#ffffff", correctLevel : QRCode.CorrectLevel.H }); document.getElementById("qrCode").hidden = true;

asebastian-aras commented 5 years ago

Hi @dkfrizzell I've done some testing and it looks like there is another reference necessary to make the project work in 12 SP0. In addition to adding the line <file src="qrcode.js" /> in the <ArasModules> section, you'll have to add it to the <ArasModulesWithoutCore> as well. This seemed to fix the issue within my environment. I'll update the README to reflect this change. Thank you for bringing this issue to our attention.

AJ