koschei icon indicating copy to clipboard operation
koschei copied to clipboard

javacript error prevents modify settings

Open sergiomb2 opened this issue 4 years ago • 10 comments

https://koschei.fedoraproject.org/package/debhelper?

Uncaught TypeError: can't convert Object to string _jQueryInterface https://apps.fedoraproject.org/global/fedora-bootstrap-1.0.3/fedora-bootstrap.js:3166 jQuery 2 _jQueryInterface https://apps.fedoraproject.org/global/fedora-bootstrap-1.0.3/fedora-bootstrap.js:3161 Collapse https://apps.fedoraproject.org/global/fedora-bootstrap-1.0.3/fedora-bootstrap.js:3212 jQuery 2

sergiomb2 avatar Feb 15 '21 23:02 sergiomb2

It seems that similar error prevents expanding the changed dependency list

voxik avatar Feb 17 '21 08:02 voxik

I am aware of this issue, but I have no idea what causes it as there were no changes on Koschei side. I suspect extarnal JavaScript bundle that is loaded from apps.fedoraproject.org changed.

mizdebsk avatar Feb 17 '21 17:02 mizdebsk

Hello, is there any update on this?

hrnciar avatar Mar 05 '21 08:03 hrnciar

I was investigating this issue, but it is unclear to me what is causing it as there were no code changes in Koschei JavaScript code. It could be that fedora-bootstrap (which JavaScript code is imported by Koschei) was changed underneath. I intend to remove dependency on externally-loaded fedora-bootstrap and bundle all dependencies in Koschei itself, but I don't know whether that would resolve this issue.

mizdebsk avatar Mar 05 '21 09:03 mizdebsk

I found the cause of the issue, I'm working on a fix now.

mizdebsk avatar Mar 05 '21 10:03 mizdebsk

A hotfix has been applied in production deployment at Fedora infrastructure. A proper fix will be implemented later.

mizdebsk avatar Mar 05 '21 10:03 mizdebsk

Thank you , it is working for me

sergiomb2 avatar Mar 05 '21 11:03 sergiomb2

Thank you for confirming the hotfix, but the real issue is still not fixed in Koschei, so please leave this bug open for now.

mizdebsk avatar Mar 05 '21 12:03 mizdebsk

Even though you can modify settings now, I think there is another issue. I am unable to set the package to be tracked. After I submit the form it still says Tracked by Koschei False. On the other hand, manual priority has changed but it doesn't seem like it triggered the actual build. E.g. this package https://koschei.fedoraproject.org/package/python-emcee?collection=f35

hrnciar avatar Mar 05 '21 12:03 hrnciar

The issue with tracked that cannot be changed was opened as a separate issue #336

mizdebsk avatar Mar 05 '21 16:03 mizdebsk