text:
[4 - 9단계 - 방탈출 예약 관리] 시소(신지송) 미션 제출합니다.

안녕하세요 찰리! 🙇♀ BE 6기 시소입니다. 😊
4-9단계를 구현하며 어느 정도의 깊이까지 공부해야 할지 고민이 많았는데
구현에 집중한 후 추후 원리에 대한 공부를 진행하기로 했습니다!
PR 메시지를 작성한 후 점차 궁금했던 것들을 하나씩 정리해 볼 예정이에요.
잘 부탁드리며, 좋은 하루 보내시길 바랍니다! 감사합니다. ☘
제가 학습하며 궁금했던 것은 다음과 같습니다.

Repository, Domain, Service의 관계
Repository와 Domain, Service는 일대일의 관계가 아닐까? 생각을 해 보았어요.
하지만 작성을 하며 여러 요구사항에 대응하다 보니 ReservationRepository가 ReservationTime에 대한 read를 수행하게 되고
Reservation 내에 ReservationTime이 있으니 어쩔 수 없지만 그렇다면 ReservationTime에 대한 Repository의 역할이 상대적으로 모호해지는 느낌이 생겼습니다.
그리하여 Repository와 Service는 도메인보다는 좀 더 상위 묶음의 개념인지에 대해 고민 중입니다!

제가 만난 문제들이며 공부할 예정인 것들도 작성해 봅니다.

어디까지 테스트를 진행해야 하는가
현재로서는 학습을 위해 제공되었던 테스트를 활용한 컨트롤러 status code 테스트만 있습니다!
하지만 작성을 하다 보니 응답 body까지 검증을 진행해야 하는지에 대한 고민이 들었고,
해당 부분은 하단의 레이어에서 검증을 하고자 작성하였습니다.
하지만 Dto나 Domain의 경우 비지니스 로직이 존재하지 않고
Service나 Repository는 작성을 하다 보니 통합 테스트의 느낌이라 현재로서는 보류 중입니다.
(현재 단계에서는 해피 케이스에 대한 로직만 구현하여서 그 외 테스트를 도입한다면 보완될 수도 있을 것 같습니다...)
해당 부분에 대해서는 조금 더 공부를 진행하고 추후 테스트를 추가할 예정이에요!
혹시 찰리는 모든 레이어를 어느 범위까지 테스트하는 편인가요?

Autowired 어노테이션
jdbc를 Autowired할 때에, Repository에서 해당 어노테이션을 달아주니 null 에러가 발생하였습니다.
우회해서 컨트롤러부터 생성자를 만들어주니 정상 동작하였어요.
해당 어노테이션에 대해 학습할 때에는 두 방법 다 가능한 로직이었는데 현재로서는 정상 동작과 오류난 상황 사이에서 무슨 차이점이 있는지 몰라 공부할 예정입니다.

직렬화와 역직렬화
ReservationTime Request 맵핑을 할 때에 직렬화에 대한 에러가 발생했어요.
필드값이 하나인 객체는 Mapper가 다르게 동작하고 따라서 빈 생성자 하나를 생성해 주어야 동작한다는 사실을 알았습니다.
하지만 그 원리를 제대로 알지는 못하여 공부할 예정입니다.

안녕하세요 찰리!
친절한 답변 남겨 주셔서 감사해요
코멘트 없이 ❤ 남기고 간 것들은 다 반영 완료한 것들입니다 😊
디엠으로 주신 내용을 코드로 남겨볼게요
(+ 추후 공부 예정이라고 말씀드렸던 것들은 메모해 두고 하나씩 수행 중입니다!
맨땅에 헤딩을 하는 느낌이라 시간이 조금 더 소요될 것 같아요 🥲)
기존에는 이렇게 작성해 주었습니다
@Repository
public class ReservationRepository {
    @AutoWired
    private final JdbcTemplate jdbcTemplate;

    public Long createReservation(Reservation reservation) {

필드에 바로 AutoWired를 해 주었고 별도의 생성자가 없었어요!
하지만 이렇게 해 주니 NPE가 발생하였습니다
따라서 이렇게 변경했어요
public class ReservationController {
    private final ReservationService reservationService;

    public ReservationController(ReservationService reservationService) {
        this.reservationService = reservationService;
    }

public class ReservationService {
    private final ReservationRepository reservationRepository;

    public ReservationService(ReservationRepository reservationRepository) {
        this.reservationRepository = reservationRepository;
    }

@Repository
public class ReservationRepository {
    private final JdbcTemplate jdbcTemplate;
    public ReservationRepository(JdbcTemplate jdbcTemplate) {
        this.jdbcTemplate = jdbcTemplate;
    }

밖에서 절차적으로 주입해 주니 동작하였어요
Autowired가 없는데도 어떻게 이 동작이 가능한 건지,
왜 NPE가 발생한 건지 공부해 보고 있습니다 :)

repo: woowacourse/spring-roomescape-admin


text:
Exploitation on Debian 9.5 stretch

Is exploitation possible on  Debian GNU/Linux 9.5 (stretch)
Sudo version : 1.8.19p1
Kernel : Linux localhost 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux
I tried all the exploit none of them worked !
Any help would be appreciated!

It is possible to exploit this vuln on debian 9.
exploit_nss_d9.py is for debian 9 with default configuration. exploit_userspec.py is for many targets but need bruteforcing.

I have the following output when running (exploit_nss_d9.py) :
user@debian:~/Desktop$ python exploit_nss_d9.py
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt]
[-u user] file ...
and when runing (exploit_userspec.py) :
xhat@debian:~/Desktop$ python exploit_userspec.py
curr size: 0x1600
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1b00
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1d80
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1ec0
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1f60
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1fb0
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1fd0
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1fe0
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1ff0
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
has 2 holes. very big one is bad
curr size: 0xc00
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1000
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1400
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1800
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
curr size: 0x1c00
exit code: 256
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
Traceback (most recent call last):
File "exploit_userspec.py", line 736, in
main()
File "exploit_userspec.py", line 652, in main
cmnd_size = find_cmnd_size()
File "exploit_userspec.py", line 173, in find_cmnd_size
assert found, "Cannot find cmnd size"
AssertionError: Cannot find cmnd size
Thanks.

exploit_nss_d9.py is likely to fail if any related configuration is not same as mine. When the exploit fail, "segmentation fault" is very likely. But your has no error.
exploit_userspec.py might fail but normally not this step.
So I suspect the sudo is patched. Do you check if sudo is vulnerable before running exploit?

Hi, @worawit
You are right the sudo version package comes patched on this linux DISTR. sorry my bad i didn't check before runing the exploit.
$ uname -a
Linux localhost 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux
$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ sudo --version
Sudo version 1.8.19p1
Sudoers policy plugin version 1.8.19p1
Sudoers file grammar version 45
Sudoers I/O plugin version 1.8.19p1
$ sudoedit -s '12345678901234567890'
usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-u user] file ...
./thanks

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Additional Config Settings

Expected Behavior
Out of curiosity I tried the acf-extended plugin (https://www.acf-extended.com/features/fields/flexible-content), especially the flexible-content feature where u can have a modal as a layout-picker instead of a lousy tooltip. However, I have no option to add any custom config key/values to ANY field and this is actually a problem.
Actual Behavior
I am able to add custom config key-values with a function.
I mean, i can re-create my own "flexible-content" and "layout" field and call the $this->config->set('key', 'value'); but, well, kinda ugly.
Steps to Reproduce the Problem

install / enable acf-extended
use UI to create modal picker (need at least 2 layouts)
can't recreate the modal with code only, as custom config keys are necessary for this

Versions

WordPlate: 8.5
PHP: 7.4

I understand the confusion but acf-extended and extended-acf is not the same project.

authors: vinkla zangab

repo: wordplate/extended-acf

license: MIT


text:
Removes all IS_IPAD references to better support iOS 9

Closes #316
Recreation of #320
Removes all usage of IS_IPAD in preference of size classes except where not available (in iOS 7). Also pulled all of the UI-level logic out of the service layer and model objects. Views are now properly resized when size classes change.
Caveats:

Portrait and landscape iOS devices smaller than the iPhone 6S are all considered compact. This has implications on the segmented control that I'm not entirely happy with. I may wish to override the behavior of size classes in this case for landscape.
The number of bars still needs a bit of work. The number of bars is not refreshed automatically when switching between full screen on the iPad with the multitasking side view. I'm opening a separate issue to deal with this.

Testing:

Multitasking on iPad Air and Air 2.
iPhone 6
iPhone 6S
Orientations on all devices.

Needs Review: @jleandroperez
If you're booked on time, @jleandroperez, let me know! Thanks!

Just got this error, while playing with iOS 9's "Side by Side" (/ resizing the StatsDemo window):
2015-09-22 18:03:48.525 StatsDemo[524:5006] Attempting to change the refresh control while it is not idle is strongly discouraged and probably won't work properly.
2015-09-22 18:04:02.450 StatsDemo[524:5006] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSLayoutConstraint:0x7ff0f15a7d20 UILabel:0x7ff0f6007530'It's been 1 months since ...'.top >= UITableViewCellContentView:0x7ff0f600af20.topMargin>",
    "<NSLayoutConstraint:0x7ff0f1527b70 UITableViewCellContentView:0x7ff0f600af20.centerY == UILabel:0x7ff0f6007530'It's been 1 months since ...'.centerY>",
    "<NSLayoutConstraint:0x7ff0f152a510 V:[UILabel:0x7ff0f6007530'It's been 1 months since ...'(>=16)]>",
    "<NSLayoutConstraint:0x7ff0f15b3490 'UIView-Encapsulated-Layout-Height' V:[UITableViewCellContentView:0x7ff0f600af20(30)]>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x7ff0f152a510 V:[UILabel:0x7ff0f6007530'It's been 1 months since ...'(>=16)]>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

@jleandroperez Can you check again to see if you can get the constraint issue to show up? I had a bunk constraint in the Storyboard. Been there for some time, actually.

@jleandroperez I discovered the problem with the log statements:
StatsDemo[23410] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
It appears to be a framework thing:

@jleandroperez This is ready for another round of testing. I'm primarily concerned with iOS 8 and 9 with rotations and also multitasking on iPad Air 2.

@astralbodies fix confirmed! working great on (all of the) iPad Air 2 Multitasking modes.
:shipit:

Awesomesauce!!!!
I'll merge this then. I have one more fix to make before I create a release.

source: gharchive/pull-request

authors: astralbodies jleandroperez

repo: wordpress-mobile/WordPressCom-Stats-iOS

license: mit

license_source: bigquery


text:
Add type declarations

This will improve support for code-completion (in IDE's) and TypeScript usage.

Thanks but no thanks. See https://github.com/words/syllable/pull/35 for reasoning.

authors: Nicholaiii wooorm

repo: words/dice-coefficient


text:
Mark org.wfanet.measurement.common.toByteString as deprecated.

com.google.protobuf.kotlin.toByteString should be used instead.

This change is

This supercedes #72, as the order of PRs was rearranged.


text:
two lines at the end

Hi @gronert-m ,
Kindly review the two lines I am proposing.
Best,
Alexandra

@alexandraqn Thanks for this!

authors: alexandraqn gronert-m

repo: worldbank/gld


text:
CP ado and updated pip_pov_check_args ado files

Hi @randrescastaneda ,
This PR is for pip cp ado file.
Tefera

Hi @Tefera19 ,
I incorporated your changes in  this commit. So I am closing this PR.
Thanks.

repo: worldbank/pip


text:
Removing extra parenthesis

Closing https://github.com/wp-cli/wp-cli/issues/3366

Yes just realized that :-( . Fixing now.


text:
LLVM 7.0 is updated

will you update this project?

it seems 8.0 is current version, maybe can update via SVN

Yes, this is planned and I've been waiting for the release on llvm-dev mailing list.
There are particularly some bugs in the linker tear-down that made using it in-process impossible (from IDEs incl. VB6 IDE)
Will have to find some time this weekend to merge upstream.

authors: loquat wqweto

repo: wqweto/VBLLVM


text:
Londiste replication query

I tried to add query to view londiste replication lag with these:
pg_londiste_replication:
  query: "SELECT consumer_name, GREATEST(0, EXTRACT(EPOCH FROM lag)) as londiste_lag, pending_events from pgq.get_consumer_info() where consumer_name !~ 'watermark$'"
  metrics:
    - londiste_lag:
        usage: "GAUGE"
        description: "Londiste lag"
    - pending_events:
        usage: "GAUGE"
description: "Londiste pending events"

but ended up error:
INFO[0000] Unparseable column type - discarding:  pg_londiste_replication consumer_name <nil>
  source=postgres_exporter.go:924

Tried to change consumer_name to consumer_name::text but no luck with the same error.
Did I miss anything?

What types are you returning in those columns? We do our best to infer the type but there's a couple of weird ones in postgres which don't have a sensible generic conversion. Can you post sample data?

Here's the result when selecting manually:
 consumer_name | greatest | pending_events
---------------+----------+----------------
 review-slv    | 3.346639 |             77

I tried to cast the the column but the error persists:
SELECT CAST(COALESCE(consumer_name,'') AS TEXT) as consumer_name,
GREATEST(0, EXTRACT(EPOCH FROM lag))::FLOAT as londiste_lag,
pending_events
from pgq.get_consumer_info() where consumer_name !~ 'watermark$'

Ah, okay - I see the problem. The query you've given returns multiple columns including consumer_name - and the exporter tries to parse this as a metric. But text cannot be parsed as a metric - so there's no possible mapping, so it fails.
Try updating your queries.yml to this:
pg_londiste_replication:
  query: "SELECT consumer_name, GREATEST(0, EXTRACT(EPOCH FROM lag)) as londiste_lag, pending_events from pgq.get_consumer_info() where consumer_name !~ 'watermark$'"
  metrics:
    - consumer_name:
        usage: "LABEL"
        description: "Name of the consumer"
    - londiste_lag:
        usage: "GAUGE"
        description: "Londiste lag"
    - pending_events:
        usage: "GAUGE"
        description: "Londiste pending events"

Hopefully this issue is resolved. Feel free to re-open if you have further issues.

You're right. Adding consumer_name with label is what I have been missing.
Thanks

authors: saifulmuhajir wrouesnel


text:
JWTBearerGrantHandler fails to add federated IDP name when setting authorized user to token request message context

Part of fix for wso2/product-is#4879
Depends on the OAuth fix.

@emswbandara can add the link to the mentioned OAuth fix?

authors: emswbandara madurangasiriwardena


text:
[IS Analytics] Two entries are seen in login attempts table per IS login

Description:
There are two entries made in login attempts table for each IS login
Steps to reproduce:

Configure IS to publish events.
Login from a SP

When I tried to reproduce this using the sample client, with just one event, it is working fine. If the dashboard is showing two entries for one login attempt, there might be two events coming from the IS side. Can you please check ?

After looking into the issue we realized that this is not an issue. IS by default do a user login in several steps. And for each step there will be events published.


text:
remove github-email-integrator

Purpose
remove github-email-integrator

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kavishka Fernando seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant kavishkafernando


text:
Doc Feedback:

The links in the navigation bar on the left do not work. I had to open the link in a  new tab in order to visit the next page. I am using Firefox Developer Edition 92.0b9
Location : https://apim.docs.wso2.com/en/latest/tutorials/scenarios/scenario1-create-rest-api/

I tried this out on this version of Firefox Developer Edition and wasn't able to reproduce this. It seemed to work fine for me.
Will investigate further.

This is not reproducible in Firefox 91.0.2 (64-bit) stable version. Hence this might be a temporary issue with  Firefox Developer Edition 92.0b9

authors: rhoen rosensilva samgnaniah


text:
Bump Dependencies #555

Bumps dependencies for ${REPOSITORY}.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant jenkins-is-staging


text:
Thumbnail design cancel not working

description
Even though the cancel button clicked after designing a thumbnail, the change persists in the overview page.

Duplicate issue https://github.com/wso2/product-apim/issues/5641


text:
Added comments are not displayed in Dev Portal overview page

Added comments are not displayed in overview page:

This issue is fixed with https://github.com/wso2/carbon-apimgt/pull/7490


text:
JWT sub claim mismatch for same super tenant user for different grant types

Description:
The sub claim value in a JWT token obtained using client credentials grant for a non-admin user will be as follows.
"sub": "user1@carbon.super"
A JWT token obtained using a password grant for the same user for the same app will be as follows.
"sub": "user1"
Because of this,
- the application throttling does not work as expected, since the throttle key differs for the requests.
- the backend jwt endusername claim has inconsistent values for different grants and JWT vs Opaque tokens.
Steps to reproduce:

Generate a client credentials token for a non-admin super tenant user
Generate a password grant token for the same user for the same application

First, need to resolve https://github.com/wso2/product-is/issues/9313


text:
Intermittently, cannot login to the device management app page: gives a http 500 error

Error in the device mgt page is: HTTP 500
Backend error is:
[2017-05-23 11:47:19,966] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Resource forbidden
[2017-05-23 11:47:19,989] [IoT-Core] ERROR - {handlebars-module} An exception thrown when executing the script '/app/pages/cdmf.page.dashboard/dashboard.js'.
[2017-05-23 11:47:19,989] [IoT-Core] ERROR - {dynamic-files-renderer} Unexpected token: <
org.mozilla.javascript.EcmaError: SyntaxError: Unexpected token: < (/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js#2236(Function)#2)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.NativeJSON.parse(NativeJSON.java:112)
at org.mozilla.javascript.NativeJSON.parse(NativeJSON.java:119)
at org.jaggeryjs.scriptengine.util.HostObjectUtil.parseJSON(HostObjectUtil.java:70)
at org.jaggeryjs.scriptengine.engine.RhinoTopLevel.parse(RhinoTopLevel.java:51)
at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c2._c_anonymous_3(/devicemgt/app/modules/business-controllers/group.js:51)
at org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c2.call(/devicemgt/app/modules/business-controllers/group.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_3(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:130)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_6(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:167)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_7(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:177)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c2._c_anonymous_2(/devicemgt/app/modules/business-controllers/group.js:49)
at org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c2.call(/devicemgt/app/modules/business-controllers/group.js)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at org.jaggeryjs.rhino.devicemgt.app.pages.cdmf.page.dashboard.c1._c_onRequest_1(/devicemgt/app/pages/cdmf.page.dashboard/dashboard.js:44)
at org.jaggeryjs.rhino.devicemgt.app.pages.cdmf.page.dashboard.c1.call(/devicemgt/app/pages/cdmf.page.dashboard/dashboard.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0._c_executeScript_8(/devicemgt/lib/modules/handlebars/handlebars.js:239)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0.call(/devicemgt/lib/modules/handlebars/handlebars.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0._c_pageHelper_10(/devicemgt/lib/modules/handlebars/handlebars.js:295)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0.call(/devicemgt/lib/modules/handlebars/handlebars.js)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at script.anonymous(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js#2236(Function):2)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c2._c_anonymous_44(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js:558)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c2.call(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c2._c_anonymous_142(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js:2029)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c2.call(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0._c_anonymous_16(/devicemgt/lib/modules/handlebars/handlebars.js:706)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0.call(/devicemgt/lib/modules/handlebars/handlebars.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.c6._c_anonymous_4(/devicemgt/lib/dynamic-files-renderer.js:97)
at org.jaggeryjs.rhino.devicemgt.lib.c6.call(/devicemgt/lib/dynamic-files-renderer.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.c6._c_anonymous_3(/devicemgt/lib/dynamic-files-renderer.js:80)
at org.jaggeryjs.rhino.devicemgt.lib.c6.call(/devicemgt/lib/dynamic-files-renderer.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.c5._c_anonymous_5(/devicemgt/lib/pages-router.js:181)
at org.jaggeryjs.rhino.devicemgt.lib.c5.call(/devicemgt/lib/pages-router.js)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at org.jaggeryjs.rhino.devicemgt.lib.c3._c_script_0(/devicemgt/lib/pages.jag:23)
at org.jaggeryjs.rhino.devicemgt.lib.c3.call(/devicemgt/lib/pages.jag)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.jaggeryjs.rhino.devicemgt.lib.c3.call(/devicemgt/lib/pages.jag)
at org.jaggeryjs.rhino.devicemgt.lib.c3.exec(/devicemgt/lib/pages.jag)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588)
at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508)
at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
at org.wso2.carbon.webapp.authenticator.framework.WebappAuthenticationValve.invoke(WebappAuthenticationValve.java:45)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1760)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1719)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
[2017-05-23 11:54:29,096] [IoT-Core]  WARN - {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} API authentication failure due to Resource forbidden
[2017-05-23 11:54:29,133] [IoT-Core] ERROR - {handlebars-module} An exception thrown when executing the script '/app/pages/cdmf.page.dashboard/dashboard.js'.
[2017-05-23 11:54:29,133] [IoT-Core] ERROR - {dynamic-files-renderer} Unexpected token: <
org.mozilla.javascript.EcmaError: SyntaxError: Unexpected token: < (/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js#2236(Function)#2)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.NativeJSON.parse(NativeJSON.java:112)
at org.mozilla.javascript.NativeJSON.parse(NativeJSON.java:119)
at org.jaggeryjs.scriptengine.util.HostObjectUtil.parseJSON(HostObjectUtil.java:70)
at org.jaggeryjs.scriptengine.engine.RhinoTopLevel.parse(RhinoTopLevel.java:51)
at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c2._c_anonymous_3(/devicemgt/app/modules/business-controllers/group.js:51)
at org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c2.call(/devicemgt/app/modules/business-controllers/group.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_3(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:130)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_6(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:167)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0._c_anonymous_7(/devicemgt/app/modules/oauth/token-protected-service-invokers.js:177)
at org.jaggeryjs.rhino.devicemgt.app.modules.oauth.c0.call(/devicemgt/app/modules/oauth/token-protected-service-invokers.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c2._c_anonymous_2(/devicemgt/app/modules/business-controllers/group.js:49)
at org.jaggeryjs.rhino.devicemgt.app.modules.business_controllers.c2.call(/devicemgt/app/modules/business-controllers/group.js)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at org.jaggeryjs.rhino.devicemgt.app.pages.cdmf.page.dashboard.c1._c_onRequest_1(/devicemgt/app/pages/cdmf.page.dashboard/dashboard.js:44)
at org.jaggeryjs.rhino.devicemgt.app.pages.cdmf.page.dashboard.c1.call(/devicemgt/app/pages/cdmf.page.dashboard/dashboard.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0._c_executeScript_8(/devicemgt/lib/modules/handlebars/handlebars.js:239)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0.call(/devicemgt/lib/modules/handlebars/handlebars.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0._c_pageHelper_10(/devicemgt/lib/modules/handlebars/handlebars.js:295)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0.call(/devicemgt/lib/modules/handlebars/handlebars.js)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at script.anonymous(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js#2236(Function):2)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c2._c_anonymous_44(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js:558)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c2.call(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c2._c_anonymous_142(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js:2029)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c2.call(/devicemgt/lib/modules/handlebars/handlebars-v2.0.0.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0._c_anonymous_16(/devicemgt/lib/modules/handlebars/handlebars.js:706)
at org.jaggeryjs.rhino.devicemgt.lib.modules.handlebars.c0.call(/devicemgt/lib/modules/handlebars/handlebars.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.c6._c_anonymous_4(/devicemgt/lib/dynamic-files-renderer.js:97)
at org.jaggeryjs.rhino.devicemgt.lib.c6.call(/devicemgt/lib/dynamic-files-renderer.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.c6._c_anonymous_3(/devicemgt/lib/dynamic-files-renderer.js:80)
at org.jaggeryjs.rhino.devicemgt.lib.c6.call(/devicemgt/lib/dynamic-files-renderer.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at org.jaggeryjs.rhino.devicemgt.lib.c5._c_anonymous_5(/devicemgt/lib/pages-router.js:181)
at org.jaggeryjs.rhino.devicemgt.lib.c5.call(/devicemgt/lib/pages-router.js)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at org.jaggeryjs.rhino.devicemgt.lib.c3._c_script_0(/devicemgt/lib/pages.jag:23)
at org.jaggeryjs.rhino.devicemgt.lib.c3.call(/devicemgt/lib/pages.jag)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.jaggeryjs.rhino.devicemgt.lib.c3.call(/devicemgt/lib/pages.jag)
at org.jaggeryjs.rhino.devicemgt.lib.c3.exec(/devicemgt/lib/pages.jag)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588)
at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508)
at org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:377)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreventionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
at org.wso2.carbon.webapp.authenticator.framework.WebappAuthenticationValve.invoke(WebappAuthenticationValve.java:45)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1760)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1719)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Pasindu will work on this.

This issue doesn't happen in the latest pack and 3.1.0 GA release. And hence closing this issue.

authors: chamaraanu sinthuja


text:
Observed "Unable to create fixed remote mounts" at IDP and SP creation

Environment
IS 2 node cluster setup fronted by Nginx
Mysql 5.6
JDK 1.8
OS - Ubuntu-14.04-LTS
Browser Chrome 58.0.3029.96
Steps to reproduce the issue
Observed the following exception only once when creating SP and IDP using admin service call.
Note - This error has only onbserved once during the testing phrase and does not observe any impact to the functionality of SP or IDP.
TID: [-1234] [] [2017-12-21 09:26:58,596] ERROR {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -  Unable to create fixed remote mounts.
org.wso2.carbon.registry.core.exceptions.RegistryException: An exception occurred while executing handler chain. null
	at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.delete(HandlerManager.java:2649)
	at org.wso2.carbon.registry.core.jdbc.handlers.UserDefinedHandlerManager.delete(UserDefinedHandlerManager.java:215)
	at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.delete(HandlerLifecycleManager.java:443)
	at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.delete(EmbeddedRegistry.java:851)
	at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.delete(CacheBackedRegistry.java:595)
	at org.wso2.carbon.registry.core.session.UserRegistry.deleteInternal(UserRegistry.java:867)
	at org.wso2.carbon.registry.core.session.UserRegistry.access$1100(UserRegistry.java:61)
	at org.wso2.carbon.registry.core.session.UserRegistry$12.run(UserRegistry.java:842)
	at org.wso2.carbon.registry.core.session.UserRegistry$12.run(UserRegistry.java:839)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.wso2.carbon.registry.core.session.UserRegistry.delete(UserRegistry.java:839)
	at org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.setupMounts(RegistryCoreServiceComponent.java:301)
	at org.wso2.carbon.registry.core.utils.RegistryUtils.initializeTenant(RegistryUtils.java:1162)
	at org.wso2.carbon.identity.application.mgt.ApplicationMgtUtil.storePermissions(ApplicationMgtUtil.java:240)
	at org.wso2.carbon.identity.application.mgt.ApplicationManagementServiceImpl.createApplication(ApplicationManagementServiceImpl.java:132)
	at org.wso2.carbon.identity.application.mgt.ApplicationManagementAdminService.createApplication(ApplicationManagementAdminService.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
	at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
	at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
	at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
	at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:232)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:72)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:124)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:65)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:124)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:80)
	at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:91)
	at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:60)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
	at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1775)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1734)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.wso2.carbon.registry.core.jdbc.handlers.builtin.MountHandler.delete(MountHandler.java:490)
	at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.delete(HandlerManager.java:2627)
	... 77 more
TID: [-1234] [] [2017-12-21 09:26:58,929]  INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin@carbon.super [-1234]' logged in at [2017-12-21 09:26:58,929+0000]

@sashikamw experienced the same issue when setting up IS 2 node cluster based on IS deployment pattern 2, for the Cloud Foundry BOSH release.

We are experiencing this issue  in IS when creating service providers for configuring SAML SSO for API Manager as well.

This error log can be observed in RC2 pack as well.

I am experiencing the same issue in the IS as Key Manager RC-4 pack when testing with WSO2 API Manager Docker Compose artifacts.

I'm seeing the same issue in the test suite output while trying to build tag 5.6.0 from source.

I'm seeing the same issue on WSO2 IS version 5.6.0 deployed on Azure Kubernetes Services.

authors: ChamNDeSilva chirangaalwis hauntingEcho rolish sashikamw


text:
onFail Function in Adaptive Authentication Script Not Working

Description
The onFail function in the adaptive authentication script does not redirect the user to the next authenticator page. Instead, the end user is kept on the same page with an "Authentication Failed" error message.
https://github.com/user-attachments/assets/df2f8d38-73cb-464a-b210-78a551219173
Steps to Reproduce

Set up an Identity Server 7 instance with mail-sending capabilities.
Create an application with the following adaptive authentication configuration:

Step 1: Basic
Step 2: EmailOTP
Step 3: SMSOTP

Use the following script:

 var onLoginRequest = function(context) {
     executeStep(1, {
         onSuccess: function (context) {
             executeStep(2, {
                 onFail: function (context) {
                     executeStep(3);
                 }
             });
         }
     });
 };

Log in using valid credentials and provide an invalid Email OTP.

Expected Behavior:
The user should be redirected to Step 3 (SMSOTP) upon failing Step 2 (EmailOTP).
Version
7.0
Environment Details (with versions)
No response

This behavior is expected here because retryAuthenticationEnabled is set to true for the email-OTP authenticator [1], as well as for similar authenticators like TOTP [2], SMS-OTP [3] and Basic Authenticator[4]. Thus the user will be redirected to the same authenticator.

But we can make this value false via the adaptive script[5][6] like this
var onLoginRequest = function(context) {
    executeStep(1, {
       onSuccess: function (context) {
             executeStep(2, {
                    authenticatorParams: {
                        local: {
                            'email-otp-authenticator': {
                                enableRetryFromAuthenticator: 'false'
                            }
                        }
                    }
                },
                {
                onSuccess: function(context) {
                     Log.info('--------------- Login Sucess---------');
                },

                    onFail: function (context) {
                        executeStep(3);
                    }
                    }
                );
         }
    });
};

To turn it off at server level add the following config to deployment.toml
[authentication.authenticator.email_otp_local.parameters]
enableRetryFromAuthenticator = false

[1]https://github.com/wso2-extensions/identity-local-auth-emailotp/blob/main/components/org.wso2.carbon.identity.local.auth.emailotp/src/main/java/org/wso2/carbon/identity/local/auth/emailotp/EmailOTPAuthenticator.java#L145
[2]https://github.com/wso2-extensions/identity-outbound-auth-totp/blob/master/component/authenticator/src/main/java/org/wso2/carbon/identity/application/authenticator/totp/TOTPAuthenticator.java#L717
[3]https://github.com/wso2-extensions/identity-local-auth-smsotp/blob/main/components/org.wso2.carbon.identity.local.auth.smsotp.authenticator/src/main/java/org/wso2/carbon/identity/local/auth/smsotp/authenticator/SMSOTPAuthenticator.java#L143
[4]https://github.com/wso2-extensions/identity-local-auth-basicauth/blob/master/components/org.wso2.carbon.identity.application.authenticator.basicauth/src/main/java/org/wso2/carbon/identity/application/authenticator/basicauth/BasicAuthenticator.java#L880
[5]https://github.com/wso2/product-is/issues/9970
[6]https://is.docs.wso2.com/en/latest/references/conditional-auth/api-reference/#initial-login-request

@ashensw let's decide whether we need to add this to our doc space

authors: HasiniSama inthirakumaaran


text:
Ability to manage service provider properties from the management console

The IdentityApplicationManagementService supports setting additional SP properties for an SP.
It would be nice to have this functionality in SP UI as well.

Ideally, this could be used to manage arbitrary properties (which may or may not have already been managed via IdentityApplicationManagementService).  From my perspective, an implementation similar to the current role-mapping menu would be fantastic.
My particular use case is configuring a URL & Logo for an application-menu dashboard widget

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: hauntingEcho isharak omindu


text:
Bump Dependencies #389

Bumps dependencies for product-is.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: claassistantio jenkins-is-staging


text:
Struggling to make a math font

Description
If I attempt to make my own OpenType math font in FontForge by simply including glyphs for the Latin, Greek, and the most used mathematical symbols, then trying to set this as the math font in the unicode-math package gives the following error:
*************************************************
* fontspec warning: "script-not-exist-latn"
*
* Font 'MyNewFontMark1' does not contain script 'Math'.
*  'Latin' script used instead.
*************************************************
What is going on here, and is there a way to solve it?
Add info or delete as appropriate:

Relevant for XeTeX
Relevant for LuaTeX
Issue tracker has been searched for similar issues.

Minimal example demonstrating the issue
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{MyNewFontMark1.otf}
\begin{document}
\[
  a = b
\]
\end{document}

Further details

To be used in unicode-math, the font need to contain the opentype MATH table. See

https://docs.microsoft.com/zh-cn/typography/opentype/spec/math
https://github.com/firamath/firamath.github.io/blob/master/bibliography.md

I'm not sure that's the problem. I think it does have a Math table. When I view the font in FontForge, and click on
Element->Other Info->Math info...
then a populated Math table shows up. It looks pretty much the same as the Math table for the TeX Gyre Pagella math font, for instance.

Sorry, I can't assist here. I don't mind the conversation continuing but unicode-math isn't the issue.

authors: aluminum1 stone-zeng wspr

repo: wspr/unicode-math


text:
Set JSONEncoder to json._default

fixes #528

Checklist:

[ ] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[ ] Add or update relevant docs, in the docs folder and in code.
[ ] Add an entry in docs/changes.rst summarizing the change and linking to the issue. Add .. versionchanged:: entries in any relevant code docs.

@azmeuk
can you please take a look at that one. this is blocking to use the latest version of Quart

It looks like JSONEncoder is not even used anymore. It was introduced with 6dea39dd2f130571c0028f1de6e489260fa01d47 and was not called anymore with 92c6e3953c3bdf2ff3cf03c1216648e6e0b77a0a.
I think you can just remove the line.

even better ! okay, I'll remove the line

authors: azmeuk pythops

repo: wtforms/flask-wtf


text:
github的主题与demo显示的不一样？

git clone this theme, but it's different from the demo?
How can I get the theme as the demo?
Thanks.

Maybe I didn't set tag so much and didn't fill in much info as your demo...
I will try a again.

repo: wuchong/jacman


text:
安装wget lsof tar systemd报错，

环境 Environment

操作系统 centos7
……
是否全新安装 是
……
如果不是全新安装，有无安装其他软件（宝塔，Nginx等）无
……
其他可以补充的信息
……

说明 Description
全新安装，选择选项是1，第一次跑报错 wget lsof tar 失败，然后注释掉这一行手动装上了，第二安装报错安装/升级 systemd 失败，手动装也失败，后来就老版本凑合着用了，注释掉这一行一路安装到底，有几个warning也没管，最后装完了也能跑，希望
大佬有空了调一调，vless+xtls确实快了不少。
另外有个疑问，crontab -l
32 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
这个应该是每天都会更新下证书吧？我是一个域名弄了好几个二级域名，会不会短时间内申请次数过多导致失败啊。
[OK]  当前用户是 root 用户，开始安装流程
[OK]  当前系统为 Centos 7 7 (Core)
--2021-06-22 01:33:16--  https://raw.githubusercontent.com/wulabing/Xray_onekey/main/basic/nginx.repo
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 191 [text/plain]
Last-modified header missing -- time-stamps turned off.
--2021-06-22 01:33:16--  https://raw.githubusercontent.com/wulabing/Xray_onekey/main/basic/nginx.repo
Reusing existing connection to raw.githubusercontent.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 191 [text/plain]
Saving to: ‘/etc/yum.repos.d/nginx.repo’

100%[======================================>] 191         --.-K/s   in 0s

2021-06-22 01:33:16 (4.11 MB/s) - ‘/etc/yum.repos.d/nginx.repo’ saved [191/191]

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.team-cymru.com
 * extras: mirror.dal.nexril.net
 * updates: repo1.dal.innoscale.net
nginx-stable                                             | 2.9 kB     00:00
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package dbus.x86_64 1:1.6.12-17.el7 will be updated
---> Package dbus.x86_64 1:1.10.24-15.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch            Version                      Repository     Size
================================================================================
Updating:
 dbus          x86_64          1:1.10.24-15.el7             base          245 k

Transaction Summary
================================================================================
Upgrade  1 Package

Total size: 245 k
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
  package dbus-1:1.10.24-15.el7.x86_64 is already installed

Error Summary
-------------

Failed to stop nftables.service: Unit nftables.service not loaded.
Failed to execute operation: No such file or directory
Failed to stop ufw.service: Unit ufw.service not loaded.
Failed to execute operation: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.team-cymru.com
 * extras: mirror.dal.nexril.net
 * updates: repo1.dal.innoscale.net
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package lsof.x86_64 0:4.87-6.el7 will be installed
---> Package tar.x86_64 2:1.26-32.el7 will be updated
---> Package tar.x86_64 2:1.26-35.el7 will be an update
---> Package wget.x86_64 0:1.14-15.el7_4.1 will be updated
---> Package wget.x86_64 0:1.14-18.el7_6.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch             Version                   Repository      Size
================================================================================
Installing:
 lsof           x86_64           4.87-6.el7                base           331 k
Updating:
 tar            x86_64           2:1.26-35.el7             base           846 k
 wget           x86_64           1.14-18.el7_6.1           base           547 k

Transaction Summary
================================================================================
Install  1 Package
Upgrade  2 Packages

Total size: 1.7 M
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
  package tar-2:1.26-35.el7.x86_64 is already installed

Error Summary
-------------

[ERROR]  安装 wget lsof tar 失败```

第二次报错
[OK]  crontab 自启动配置  完成
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.team-cymru.com
 * extras: mirror.dal.nexril.net
 * updates: repo1.dal.innoscale.net
Package unzip-6.0-22.el7_9.x86_64 already installed and latest version
Nothing to do
[OK]  安装 unzip 完成
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.team-cymru.com
 * extras: mirror.dal.nexril.net
 * updates: repo1.dal.innoscale.net
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package systemd.x86_64 0:219-42.el7_4.4 will be updated
--> Processing Dependency: systemd = 219-42.el7_4.4 for package: systemd-sysv-219-42.el7_4.4.x86_64
---> Package systemd.x86_64 0:219-78.el7_9.3 will be an update
--> Finished Dependency Resolution
Error: Package: systemd-sysv-219-42.el7_4.4.x86_64 (@updates)
           Requires: systemd = 219-42.el7_4.4
           Removing: systemd-219-42.el7_4.4.x86_64 (@updates)
               systemd = 219-42.el7_4.4
           Updated By: systemd-219-78.el7_9.3.x86_64 (updates)
               systemd = 219-78.el7_9.3
           Available: systemd-219-78.el7.x86_64 (base)
               systemd = 219-78.el7
           Available: systemd-219-78.el7_9.2.x86_64 (updates)
               systemd = 219-78.el7_9.2
 You could try using --skip-broken to work around the problem
** Found 142 pre-existing rpmdb problem(s), 'yum check' output follows:
GeoIP-1.5.0-14.el7.x86_64 is a duplicate with GeoIP-1.5.0-11.el7.x86_64
1:NetworkManager-1.18.8-2.el7_9.x86_64 is a duplicate with 1:NetworkManager-1.8.0-11.el7_4.x86_64
1:NetworkManager-libnm-1.18.8-2.el7_9.x86_64 is a duplicate with 1:NetworkManager-libnm-1.8.0-11.el7_4.x86_64
acl-2.2.51-15.el7.x86_64 is a duplicate with acl-2.2.51-12.el7.x86_64
audit-libs-2.8.5-4.el7.x86_64 is a duplicate with audit-libs-2.7.6-3.el7.x86_64
bash-4.2.46-34.el7.x86_64 is a duplicate with bash-4.2.46-29.el7_4.x86_64
binutils-2.27-44.base.el7.x86_64 is a duplicate with binutils-2.25.1-32.base.el7_4.1.x86_64
ca-certificates-2020.2.41-70.0.el7_8.noarch is a duplicate with ca-certificates-2017.2.14-71.el7.noarch
centos-release-7-9.2009.1.el7.centos.x86_64 is a duplicate with centos-release-7-4.1708.el7.centos.x86_64
chkconfig-1.7.6-1.el7.x86_64 is a duplicate with chkconfig-1.7.4-1.el7.x86_64
coreutils-8.22-24.el7_9.2.x86_64 is a duplicate with coreutils-8.22-18.el7.x86_64
cpio-2.11-28.el7.x86_64 is a duplicate with cpio-2.11-25.el7_4.x86_64
cryptsetup-libs-2.0.3-6.el7.x86_64 is a duplicate with cryptsetup-libs-1.7.4-3.el7_4.1.x86_64
curl-7.29.0-59.el7_9.1.x86_64 is a duplicate with curl-7.29.0-42.el7_4.1.x86_64
cyrus-sasl-lib-2.1.26-23.el7.x86_64 is a duplicate with cyrus-sasl-lib-2.1.26-21.el7.x86_64
1:dbus-1.10.24-15.el7.x86_64 is a duplicate with 1:dbus-1.6.12-17.el7.x86_64
1:dbus-libs-1.10.24-15.el7.x86_64 is a duplicate with 1:dbus-libs-1.6.12-17.el7.x86_64
7:device-mapper-1.02.170-6.el7_9.5.x86_64 is a duplicate with 7:device-mapper-1.02.140-8.el7.x86_64
7:device-mapper-libs-1.02.170-6.el7_9.5.x86_64 is a duplicate with 7:device-mapper-libs-1.02.140-8.el7.x86_64
12:dhcp-libs-4.2.5-83.el7.centos.1.x86_64 is a duplicate with 12:dhcp-libs-4.2.5-58.el7.centos.x86_64
diffutils-3.3-5.el7.x86_64 is a duplicate with diffutils-3.3-4.el7.x86_64
dracut-033-572.el7.x86_64 is a duplicate with dracut-033-502.el7_4.1.x86_64
e2fsprogs-libs-1.42.9-19.el7.x86_64 is a duplicate with e2fsprogs-libs-1.42.9-10.el7.x86_64
elfutils-default-yama-scope-0.176-5.el7.noarch is a duplicate with elfutils-default-yama-scope-0.168-8.el7.noarch
elfutils-libelf-0.176-5.el7.x86_64 is a duplicate with elfutils-libelf-0.168-8.el7.x86_64
elfutils-libs-0.176-5.el7.x86_64 is a duplicate with elfutils-libs-0.168-8.el7.x86_64
2:ethtool-4.8-10.el7.x86_64 is a duplicate with 2:ethtool-4.8-1.el7.x86_64
expat-2.1.0-12.el7.x86_64 is a duplicate with expat-2.1.0-10.el7_3.x86_64
file-5.11-37.el7.x86_64 is a duplicate with file-5.11-33.el7.x86_64
file-libs-5.11-37.el7.x86_64 is a duplicate with file-libs-5.11-33.el7.x86_64
filesystem-3.2-25.el7.x86_64 is a duplicate with filesystem-3.2-21.el7.x86_64
1:findutils-4.5.11-6.el7.x86_64 is a duplicate with 1:findutils-4.5.11-5.el7.x86_64
firewalld-filesystem-0.6.3-13.el7_9.noarch is a duplicate with firewalld-filesystem-0.4.4.4-6.el7.noarch
freetype-2.8-14.el7_9.1.x86_64 is a duplicate with freetype-2.4.11-15.el7.x86_64
geoipupdate-2.5.0-1.el7.x86_64 has installed conflicts GeoIP <= ('0', '1.5.0', '13'): GeoIP-1.5.0-11.el7.x86_64
gettext-0.19.8.1-3.el7.x86_64 is a duplicate with gettext-0.19.8.1-2.el7.x86_64
gettext-libs-0.19.8.1-3.el7.x86_64 is a duplicate with gettext-libs-0.19.8.1-2.el7.x86_64
glib2-2.56.1-9.el7_9.x86_64 is a duplicate with glib2-2.50.3-3.el7.x86_64
glibc-2.17-324.el7_9.x86_64 is a duplicate with glibc-2.17-196.el7_4.2.x86_64
glibc-common-2.17-324.el7_9.x86_64 is a duplicate with glibc-common-2.17-196.el7_4.2.x86_64
gnupg2-2.0.22-5.el7_5.x86_64 is a duplicate with gnupg2-2.0.22-4.el7.x86_64
1:grub2-common-2.02-0.87.el7.centos.6.noarch is a duplicate with 1:grub2-common-2.02-0.65.el7.centos.2.noarch
1:grub2-pc-modules-2.02-0.87.el7.centos.6.noarch is a duplicate with 1:grub2-pc-modules-2.02-0.65.el7.centos.2.noarch
1:grub2-tools-2.02-0.87.el7.centos.6.x86_64 is a duplicate with 1:grub2-tools-2.02-0.65.el7.centos.2.x86_64
1:grub2-tools-minimal-2.02-0.87.el7.centos.6.x86_64 is a duplicate with 1:grub2-tools-minimal-2.02-0.65.el7.centos.2.x86_64
grubby-8.28-26.el7.x86_64 is a duplicate with grubby-8.28-23.el7.x86_64
gzip-1.5-10.el7.x86_64 is a duplicate with gzip-1.5-9.el7.x86_64
hostname-3.13-3.el7_7.1.x86_64 is a duplicate with hostname-3.13-3.el7.x86_64
info-5.1-5.el7.x86_64 is a duplicate with info-5.1-4.el7.x86_64
initscripts-9.49.53-1.el7_9.1.x86_64 has installed conflicts redhat-release < ('0', '7.5', '0.11'): centos-release-7-4.1708.el7.centos.x86_64
initscripts-9.49.53-1.el7_9.1.x86_64 is a duplicate with initscripts-9.49.39-1.el7.x86_64
iproute-4.11.0-30.el7.x86_64 is a duplicate with iproute-3.10.0-87.el7.x86_64
ipset-7.1-1.el7.x86_64 is a duplicate with ipset-6.29-1.el7.x86_64
ipset-libs-7.1-1.el7.x86_64 is a duplicate with ipset-libs-6.29-1.el7.x86_64
iptables-1.4.21-35.el7.x86_64 is a duplicate with iptables-1.4.21-18.2.el7_4.x86_64
kbd-misc-1.15.5-15.el7.noarch is a duplicate with kbd-misc-1.15.5-13.el7.noarch
kmod-20-28.el7.x86_64 is a duplicate with kmod-20-15.el7_4.6.x86_64
kmod-libs-20-28.el7.x86_64 is a duplicate with kmod-libs-20-15.el7_4.6.x86_64
kpartx-0.4.9-134.el7_9.x86_64 is a duplicate with kpartx-0.4.9-111.el7.x86_64
krb5-libs-1.15.1-50.el7.x86_64 is a duplicate with krb5-libs-1.15.1-8.el7.x86_64
libacl-2.2.51-15.el7.x86_64 is a duplicate with libacl-2.2.51-12.el7.x86_64
libattr-2.4.46-13.el7.x86_64 is a duplicate with libattr-2.4.46-12.el7.x86_64
libblkid-2.23.2-65.el7_9.1.x86_64 is a duplicate with libblkid-2.23.2-43.el7_4.2.x86_64
libcap-2.22-11.el7.x86_64 is a duplicate with libcap-2.22-9.el7.x86_64
libcom_err-1.42.9-19.el7.x86_64 is a duplicate with libcom_err-1.42.9-10.el7.x86_64
libcroco-0.6.12-6.el7_9.x86_64 is a duplicate with libcroco-0.6.11-1.el7.x86_64
libcurl-7.29.0-59.el7_9.1.x86_64 is a duplicate with libcurl-7.29.0-42.el7_4.1.x86_64
libdb-5.3.21-25.el7.x86_64 is a duplicate with libdb-5.3.21-20.el7.x86_64
libdb-utils-5.3.21-25.el7.x86_64 is a duplicate with libdb-utils-5.3.21-20.el7.x86_64
libfastjson-0.99.4-3.el7.x86_64 is a duplicate with libfastjson-0.99.4-2.el7.x86_64
libffi-3.0.13-19.el7.x86_64 is a duplicate with libffi-3.0.13-18.el7.x86_64
libgcc-4.8.5-44.el7.x86_64 is a duplicate with libgcc-4.8.5-16.el7_4.1.x86_64
libgomp-4.8.5-44.el7.x86_64 is a duplicate with libgomp-4.8.5-16.el7_4.1.x86_64
libmount-2.23.2-65.el7_9.1.x86_64 is a duplicate with libmount-2.23.2-43.el7_4.2.x86_64
libndp-1.2-9.el7.x86_64 is a duplicate with libndp-1.2-7.el7.x86_64
libpwquality-1.2.3-5.el7.x86_64 is a duplicate with libpwquality-1.2.3-4.el7.x86_64
libseccomp-2.3.1-4.el7.x86_64 is a duplicate with libseccomp-2.3.1-3.el7.x86_64
libselinux-2.5-15.el7.x86_64 is a duplicate with libselinux-2.5-11.el7.x86_64
libselinux-python-2.5-15.el7.x86_64 is a duplicate with libselinux-python-2.5-11.el7.x86_64
libselinux-utils-2.5-15.el7.x86_64 is a duplicate with libselinux-utils-2.5-11.el7.x86_64
libsemanage-2.5-14.el7.x86_64 is a duplicate with libsemanage-2.5-8.el7.x86_64
libsepol-2.5-10.el7.x86_64 is a duplicate with libsepol-2.5-6.el7.x86_64
libss-1.42.9-19.el7.x86_64 is a duplicate with libss-1.42.9-10.el7.x86_64
libssh2-1.8.0-4.el7.x86_64 is a duplicate with libssh2-1.4.3-10.el7_2.1.x86_64
libstdc++-4.8.5-44.el7.x86_64 is a duplicate with libstdc++-4.8.5-16.el7_4.1.x86_64
libteam-1.29-3.el7.x86_64 is a duplicate with libteam-1.25-5.el7.x86_64
libuser-0.60-9.el7.x86_64 is a duplicate with libuser-0.60-7.el7_1.x86_64
libuuid-2.23.2-65.el7_9.1.x86_64 is a duplicate with libuuid-2.23.2-43.el7_4.2.x86_64
libxml2-2.9.1-6.el7.5.x86_64 is a duplicate with libxml2-2.9.1-6.el7_2.3.x86_64
libxml2-python-2.9.1-6.el7.5.x86_64 is a duplicate with libxml2-python-2.9.1-6.el7_2.3.x86_64
linux-firmware-20200421-80.git78c0348.el7_9.noarch is a duplicate with linux-firmware-20170606-57.gitc990aae.el7.noarch
logrotate-3.8.6-19.el7.x86_64 is a duplicate with logrotate-3.8.6-14.el7.x86_64
1:make-3.82-24.el7.x86_64 is a duplicate with 1:make-3.82-23.el7.x86_64
1:mariadb-libs-5.5.68-1.el7.x86_64 is a duplicate with 1:mariadb-libs-5.5.56-2.el7.x86_64
mozjs17-17.0.0-20.el7.x86_64 is a duplicate with mozjs17-17.0.0-19.el7.x86_64
nspr-4.25.0-2.el7_9.x86_64 is a duplicate with nspr-4.13.1-1.0.el7_3.x86_64
nss-3.53.1-7.el7_9.x86_64 is a duplicate with nss-3.28.4-15.el7_4.x86_64
nss-pem-1.0.3-7.el7.x86_64 is a duplicate with nss-pem-1.0.3-4.el7.x86_64
nss-softokn-3.53.1-6.el7_9.x86_64 is a duplicate with nss-softokn-3.28.3-8.el7_4.x86_64
nss-softokn-freebl-3.53.1-6.el7_9.x86_64 is a duplicate with nss-softokn-freebl-3.28.3-8.el7_4.x86_64
nss-sysinit-3.53.1-7.el7_9.x86_64 is a duplicate with nss-sysinit-3.28.4-15.el7_4.x86_64
nss-tools-3.53.1-7.el7_9.x86_64 is a duplicate with nss-tools-3.28.4-15.el7_4.x86_64
nss-util-3.53.1-1.el7_9.x86_64 is a duplicate with nss-util-3.28.4-3.el7.x86_64
numactl-libs-2.0.12-5.el7.x86_64 is a duplicate with numactl-libs-2.0.9-6.el7_2.x86_64
openldap-2.4.44-23.el7_9.x86_64 is a duplicate with openldap-2.4.44-5.el7.x86_64
openssh-7.4p1-21.el7.x86_64 is a duplicate with openssh-7.4p1-13.el7_4.x86_64
1:openssl-libs-1.0.2k-21.el7_9.x86_64 is a duplicate with 1:openssl-libs-1.0.2k-8.el7.x86_64
pam-1.1.8-23.el7.x86_64 is a duplicate with pam-1.1.8-18.el7.x86_64
pciutils-libs-3.5.1-3.el7.x86_64 is a duplicate with pciutils-libs-3.5.1-2.el7.x86_64
policycoreutils-2.5-34.el7.x86_64 is a duplicate with policycoreutils-2.5-17.1.el7.x86_64
polkit-0.112-26.el7.x86_64 is a duplicate with polkit-0.112-12.el7_3.x86_64
procps-ng-3.3.10-28.el7.x86_64 is a duplicate with procps-ng-3.3.10-16.el7.x86_64
python-2.7.5-90.el7.x86_64 is a duplicate with python-2.7.5-58.el7.x86_64
python-firewall-0.6.3-13.el7_9.noarch is a duplicate with python-firewall-0.4.4.4-6.el7.noarch
python-libs-2.7.5-90.el7.x86_64 is a duplicate with python-libs-2.7.5-58.el7.x86_64
python-linux-procfs-0.4.11-4.el7.noarch is a duplicate with python-linux-procfs-0.4.9-3.el7.noarch
python-perf-3.10.0-1160.31.1.el7.x86_64 is a duplicate with python-perf-3.10.0-693.11.6.el7.x86_64
python-slip-0.4.0-4.el7.noarch is a duplicate with python-slip-0.4.0-2.el7.noarch
python-slip-dbus-0.4.0-4.el7.noarch is a duplicate with python-slip-dbus-0.4.0-2.el7.noarch
python-urlgrabber-3.10-10.el7.noarch is a duplicate with python-urlgrabber-3.10-8.el7.noarch
readline-6.2-11.el7.x86_64 is a duplicate with readline-6.2-10.el7.x86_64
rpm-4.11.3-45.el7.x86_64 is a duplicate with rpm-4.11.3-25.el7.x86_64
rpm-build-libs-4.11.3-45.el7.x86_64 is a duplicate with rpm-build-libs-4.11.3-25.el7.x86_64
rpm-libs-4.11.3-45.el7.x86_64 is a duplicate with rpm-libs-4.11.3-25.el7.x86_64
rpm-python-4.11.3-45.el7.x86_64 is a duplicate with rpm-python-4.11.3-25.el7.x86_64
sed-4.2.2-7.el7.x86_64 is a duplicate with sed-4.2.2-5.el7.x86_64
selinux-policy-3.13.1-268.el7_9.2.noarch is a duplicate with selinux-policy-3.13.1-166.el7_4.7.noarch
setup-2.8.71-11.el7.noarch is a duplicate with setup-2.8.71-7.el7.noarch
2:shadow-utils-4.6-5.el7.x86_64 is a duplicate with 2:shadow-utils-4.1.5.1-24.el7.x86_64
shared-mime-info-1.8-5.el7.x86_64 is a duplicate with shared-mime-info-1.8-3.el7.x86_64
sqlite-3.7.17-8.el7_7.1.x86_64 is a duplicate with sqlite-3.7.17-8.el7.x86_64
systemd-219-78.el7_9.3.x86_64 is a duplicate with systemd-219-42.el7_4.4.x86_64
systemd-libs-219-78.el7_9.3.x86_64 is a duplicate with systemd-libs-219-42.el7_4.4.x86_64
systemd-sysv-219-78.el7_9.3.x86_64 is a duplicate with systemd-sysv-219-42.el7_4.4.x86_64
2:tar-1.26-35.el7.x86_64 is a duplicate with 2:tar-1.26-32.el7.x86_64
tzdata-2021a-1.el7.noarch is a duplicate with tzdata-2017c-1.el7.noarch
util-linux-2.23.2-65.el7_9.1.x86_64 is a duplicate with util-linux-2.23.2-43.el7_4.2.x86_64
2:vim-minimal-7.4.629-8.el7_9.x86_64 is a duplicate with 2:vim-minimal-7.4.160-2.el7.x86_64
1:wpa_supplicant-2.6-12.el7_9.2.x86_64 is a duplicate with 1:wpa_supplicant-2.6-5.el7_4.1.x86_64
yum-3.4.3-168.el7.centos.noarch is a duplicate with yum-3.4.3-154.el7.centos.noarch
yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch is a duplicate with yum-plugin-fastestmirror-1.1.31-42.el7.noarch
zlib-1.2.7-19.el7_9.x86_64 is a duplicate with zlib-1.2.7-17.el7.x86_64
[ERROR]  安装/升级 systemd 失败’‘’

机器是virmach的，诸多依赖里面只有lsof是需要安装的，其他的都已经有了
第一次安装时wget lsof tar报错，systemd报错
第二次安装时wget lsof tar报错，curl报错，systemd报错
第三次安装我把wget lsof tar crontabs unzip curl systemd都注释掉了，跑脚本前先yum install lsof，一切顺利
总之就很迷惑，不论第几次安装，wget tar crontabs unzip curl这些都是已经存在的，有时候报错有时候正常
比如curl，
第一遍提示
Noting to do
第二遍提示
Transaction check error:
package curl-xxxxxx is already installed


text:
Missing maintainer...

We seem to be without a maintainer/main author/release manager, since @wummel seems to be MIA.
I would like to put in a support request to GitHub to move this project over to an organization, so it is easier to manage administrators.
I really don't want to be the lone maintainer, so I urge any contributor who reads this to contact me either vie mail (see repository), IRC (channel #dosage on FreeNode) or this ticket - so I can gauge interest.

I'd help.

I'm willing to try to help, but the definitions still confuse me for the most part.  I have a few comics I've tried to write definitions for to no avail, so I'm not sure how much help I'd be.

@Manabi: I was working on a new branch to make it easier to write comic modules (#70) and was discussing with @wummel to get it merged. Since it looks like I'm taking over the project, I will merge that work. Then it will be possible to write modules with XPath (example: 6c7fb17) or CSS (example: 6769e1eb) - The nice thing is: You can test and develop those in your browser (I'd recommend FireBug)

I can help. I did contribute a couple new comics a while back so I do know at least the basics about the project.
Also, yes XPath please.

So GitHub doesn't want to migrate repositories without the owner's consent (which I can understand). I will fork this project into the new organization I created and copy over relevant content. After the new location is set up, I'll try to direct new users there.

Please move over to the new project:
git remote set-url origin https://github.com/webcomics/dosage.git

authors: Manabi Null000 TobiX kierun

repo: wummel/dosage


text:
Clean up unneeded or verbose options in site.yml.

site.yml contains a lot of redundant parameters that aren’t used in a composer build using Drupal’s new configuration management system:

makefile (was already commented out)
drupal_version (this was only used for the passwd method, which isn’t used anywhere)
installation profile (is not relevant anymore)
site name (this variable was used in D7 to check if a site was already installed, it doesn’t have that role anymore)

Some other things can be removed:

aliases help (this is not the right place to teach yaml)
hello world command

It should be possible to remove all the defaults now from the site.yml
We just need to document all the available configuration options properly at some point.

authors: floretan tharna

repo: wunderkraut/WunderTools


text:
onClosed is not being called

I'm not doing nothing fancy, but OnInteractListener.onClosed() is not being called, however onClose() is. ¿Has anyone had this problem?

Was this issue resolved? Looks like it's been about 2 years already.

I was not able to ever reproduce this. Can @fernandohur help us with that? Are you facing it @AAverin ?

Yes, in some cases onClosed isn't called even though onClose is being invoked during animation.
I think issue only reproduces on older devices like 4.2, and is related to animation in general not  being fully stable on the platform.
Another case might be threading - I noticed there is no synchronization on methods that notify listeners

Can you reproduce faithfully? Would love to test myself. The synchronization on notifiers is a good point. Do you want to propose a PR?

I'll see if I will have time to work on that, for now I'm a bit in a hurry with implementation.

I'll see if I can reproduce it in the meantime. Any help is more than welcome.

authors: AAverin JlUgia fernandohur

repo: wunderlist/android-sliding-layer-lib


text:
Profile_Unit_Test

Title
should verify isOwner middleware behavior for various scenarios
Description
Implement test cases for the isOwner middleware to verify its responses based on different conditions:

When the user is not authenticated.
When the ID is missing.
When the ID is not a digit.
When the profile does not exist.
When the user is not the owner.
When the user is the owner.
When an internal server error occurs.

Test Cases:

Test Case for Unauthenticated User:

[x] Set ctx.state.user to null.
[x] Expect ctx.unauthorized to be called with "User authentication is required."

Test Case for Missing ID:

[x] Set ctx.params.id to undefined.
[x] Expect ctx.badRequest to be called with "Profile ID is required."
[x] Test Case for Invalid ID:

Set ctx.params.id to 'abc'.

[x] Expect ctx.badRequest to be called with "ID must be digit only."

Test Case for Non-Existent Profile:

[x] Mock strapi.entityService.findOne to resolve to null.
[x] Expect ctx.notFound to be called with "Profile not found."

Test Case for Unauthorized User:

[x] Mock strapi.entityService.findOne to resolve with a user ID that is not the owner.
[x] Expect ctx.unauthorized to be called with "This action is unauthorized."

Test Case for Authorized User:

[x] Mock strapi.entityService.findOne to resolve with the correct user ID (owner).
[x] Expect next to be called.

Test Case for Internal Server Error:

[x] Mock strapi.entityService.findOne to reject with an error.
[x] Expect strapi.log.error to be called with the error.
[x] Expect ctx.internalServerError to be called with "An error occurred."

Expected Result:
Each test case should validate the expected behavior of the middleware based on the described scenario.
Acceptance Criteria:

[x]  Implement all specified test cases for the isOwner middleware.

LGTM!!!!!!!!!!!!

No issues found


text:
Do you have an explicit example to use Jolokia-web ?

I am having white page !
do have a guideline to install Molokai-agent, jookia-web and check if installation is done correctly ? Thanks in advance.

I just tried it, and it still works as expected, just follow the readme.md:

build it
start the jar file, like java -jar jolokia-web-all.jar --port=8080  --permissions=rwxn
open http://localhost:8080/ in your browser

If you want an individual agent, you can always just go with the official documentation https://jolokia.org/tutorial.html and use the following params:
--remoteAgentUrl=http://localhost:8778/jolokia
--remoteAgentUsername=user
--remoteAgentPassword=password

thanks for your reply.
I did the steps you gave and I have this screen :
HTTP Status 404 – Not Found
Type Status Report
Message /
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.16
is it the expected result we should have ?
is because I am missing
what about the arguments :
--contextPath=jolokiaweb .... is it the path of Spring Boot Jolokia ?
in the context of Spring Boot, we don't need an agent as there is already the endpoint Jolokia with Actuator ?

@wwfdoink thank for providing the docker, it works :)
if I understand well, to connect to a Jolokai-jvm-agent, i need to inject the environment variable to docker ?
such as  --remoteAgentUrl=http://localhost:8778/jolokia
what about Spring Boot, as I am using Spring Actuator, I don't need use the Jolokia agent. I can straight connect to the actuator Jolokai endpoint ? is it the good approach ?

authors: AnthonyTonda wwfdoink

repo: wwfdoink/jolokia-web

license: unlicense


text:
Compilation error with apxs [Linux RHEL]

Hi,
Using apache 2.4 and have apxs installed.
upon compilation, we are seeing errors with TIME_UTC. Looking online it seems there have been some issues with this and MACOS, but we are using RedHat, so i would assume we wouldn't have issues with time.h
please see error from commandline.

Could you please assist
Thank You

Use latest XCode on macOS. Use latest devtoolset on Redhat/CentOS.

Hi,
I could only install devtoolset-8 due to OS and am still facing the same error. I have googled compilation errors but they are all related to MacOS.

Update to Rhel / CentOS 7 or newer. We don’t support OS that the company themselves don’t support.

authors: Charliedean wyattoday


text:
What if/unless_defined? macros are for?

Hi,
I'm just wondering what above-mentioned macros are for, considering we can just write if defined? or unless defined?.
There might be some magic sauce included, though I couldn't find any mention of it within the README and I'm too lazy atm to check the source code for the answer ;)

Compile-time evaluation.
It's just that if defined? evaulates the if expression at runtime, whereas the if_defined? macro evaluates the if expression at compile time.
The original reason for this, way back when I first wrote it, was to do conditional insertion of other code, depending on whether or not a constant was set. You can't do that at compile time.
These days, almost all of my usage is with the other, more specialized macros defined in the package.

If defined? is a macro, the whole if branch will be most likely optimized by LLVM anyway, isn't this so?

There are some things that can't evaluate dynamically, like require:
In a.cr:2:3

 2 | require "./b"
     ^
Error: can't require dynamically

So, if one wants to see if something is defined, and if it isn't, load a shim library, or some sort of stopgap library to provide that thing, one has to do the whole thing within a macro. This was the original impetus for if_defined?/unless_defined?.

Totally forgot about requires! Thanks for bearing with me and the explanation :)

authors: Sija wyhaines


text:
Storm Sniffer这个是ios上的安卓如何重写呢

Storm Sniffer这个是ios上的安卓如何重写呢

HttpCanary 小黄鸟

HttpCanary 小黄鸟可否写个教程呢

HttpCanary看这个 https://zhuanlan.zhihu.com/p/564556006


text:
缺少代码

cmakelists.txt编译不通过。

删掉了两行，已经编译通过了。


text:
GTEX ingest: duplicate node files

FYI @computationdoc
Jonathan noticed duplicate GTEX nodes in the CODES.csv file. For some reason, the generation script is not dropping duplicates when appending codes. This may be a general problem, although we've only seen it with GTEX.

Example: GTEXEXP:ENSG00000264614-1-Cervix-Endocervix

This appears to be the result of the script allowing multiple ingests of the same SAB. The script has been updated so that it deduplicates all CSV files before terminating.

Will close this after generating the next Data Distillery context.

repo: x-atlas-consortia/ubkg-etl


text:
range 失效，无法范围选择

可复现的链接：
https://codesandbox.io/s/vxe-table-3-x-vue-2-6-wen-ti-yan-shi-forked-7g9kw?file=/src/views/Demo1.vue
问题描述与截图：
当设置了固定列，改变表格容器的宽度，如果没有下面的滚动条，range失效，滚动条出现，range生效
或者表格容器设置了display:none; 再显示，range也失效

期望的结果：
一直可以范围选中
操作系统：
win7
浏览器版本：
chrome 95
vue 版本：
2.6
vxe-table 版本：
2.1或3.4都不行

3.4也不行

机器人助手：

皱眉脸 该版本已停止维护，建议更新到最新版本

3.4 也不行

机器人助手：

皱眉脸 该版本已停止维护，建议更新到最新版本

3.4 也不行

3.x的版本修复了吗

已修复，建议更新到最新版本
https://codesandbox.io/s/vxe-table-3-x-vue-2-6-wen-ti-yan-shi-forked-pc940

repo: x-extends/vxe-table


text:
Disable the bitcode when building the frameworks

We need to make sure that bitcode is disabled when building frameworks as it seems Apple does not longer accepts bitcode since Xcode 14.
This should fix dotnet/maui#10989.

@SotoiGhost no need for code changes, google has updated their pods, all that is needed is rebuild

authors: MWierzchowiecki SotoiGhost

repo: xamarin/GoogleApisForiOSComponents